XSS in Pagekit
CVE-2021-32245
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.005 (43.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 43rd percentile — 43.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Pagekit — versions 1.0.18
Weakness classification (CWE)
References
- github.com/pagekit/pagekit/issues/963 (Exploit, Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2021-32245?
- CVE-2021-32245 is a medium-severity vulnerability in Pagekit, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2021-06-16.
- How severe is CVE-2021-32245?
- Medium severity. CVSS v3 base score is 5.4 out of 10.