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.
{ "nvd_published_at": "2021-06-16T21:15:00Z", "github_reviewed_at": "2021-06-17T17:32:02Z", "severity": "MODERATE", "github_reviewed": true, "cwe_ids": [ "CWE-79" ] }