GHSA-3rwj-v7jp-w542
Pagekit Stored Cross-site Scripting
Details
Stored XSS in YOOtheme Pagekit 1.0.13 and earlier allows a user to upload malicious code via the picture upload feature. A user with elevated privileges could upload a photo to the system in an SVG format. 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/poc.svg" that will point to http://localhost/pagekit/storage/poc.svg. When a user comes along to click that link, it will trigger a XSS attack.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for pagekit/pagekit (composer). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-11564[ADVISORY]
- https://github.com/pagekit/pagekit[PACKAGE]
- https://packetstormsecurity.com/files/148001/PageKit-CMS-1.0.13-Cross-Site-Scripting.html[WEB]
- https://www.exploit-db.com/exploits/44837[WEB]
- http://ruffsecurity.blogspot.com/2018/05/my-first-cve-found.html[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/pagekit/pagekit"]}'