Advisory

GHSA-mrwr-2945-fr22

Also known as: CVE-2021-32245

Summary

Cross-site scripting in PageKit

Details

In PageKit v1.0.18, a user can upload SVG files in the file upload portion of the CMS. These SVG files can contain malicious scripts. This file will be uploaded to the system and it will not be stripped or filtered. The user can create a link on the website pointing to "/storage/exp.svg" that will point to http://localhost/pagekit/storage/exp.svg. When a user comes along to click that link, it will trigger a XSS attack.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-06-22 15:17 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

pagekit/pagekit

Packagist · All systems

Affected

  • introduced 0, last affected 1.0.18 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences