CVE-2021-32245
MEDIUM 5.4CVSS 3.1Cross-site scripting in PageKit
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.
- Published
- 16 Jun 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-mrwr-2945-fr22
- Sources
- NVDJSONOSV GHSA-mrwr-2945-fr22JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pagekit | pagekitcpe:2.3:a:pagekit:pagekit:1.0.18:*:*:*:*:*:*:* |
= 1.0.18 | |
| OSV | Packagist | pagekit/pagekit | <= 1.0.18 |
References
- https://github.com/pagekit/pagekit/issues/963 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-32245 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 16 Jun 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 22 Jun 2021)