Bug 1978138 (CVE-2021-32245) - CVE-2021-32245 PageKit: malicious scripts leads to XSS
Summary: CVE-2021-32245 PageKit: malicious scripts leads to XSS
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2021-32245
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-01 08:09 UTC by Dhananjay Arunesh
Modified: 2021-10-28 05:30 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-10-28 05:30:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2021-07-01 08:09:02 UTC
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.

References:
https://github.com/pagekit/pagekit/issues/963


Note You need to log in before you can comment on or make changes to this bug.