Skip to content
OpenAdvisories
Medium · 5.4 CVE-2021-32245 EUVD-2021-1362GHSA-mrwr-2945-fr22

Cross-site scripting in PageKit

Published Jun 16, 2021 · Updated Aug 3, 2024 · Assigned by mitre

Description

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist pagekit/pagekit <= 1.0.18 — GHSA-mrwr-2945-fr22

References