UNKNOWN npm
Payload: Uploaded XML files could execute same-origin JavaScript
GHSA-9qpg-3cf8-w33x · CVE-2026-105868
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Impact
Under certain local upload configurations, an uploaded XML file and stylesheet could execute JavaScript in the Payload origin when a logged-in user opens the file.
You are affected if:
- You accept XML uploads (accepted by default).
Patches
Users should upgrade Payload packages to >= 3.90.0 or >= 4.0.0-canary.34.
Workarounds
Disallow XML/XSL uploads.
References
- WEB https://github.com/payloadcms/payload/security/advisories/GHSA-9qpg-3cf8-w33x
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-105868
- WEB https://github.com/payloadcms/payload/commit/a8c3a8e8e2680c96ec4f66f5b3854c5df6c35adf
- PACKAGE https://github.com/payloadcms/payload
- WEB https://github.com/payloadcms/payload/releases/tag/v3.90.0
Ready to move
Start Securing
Free, no credit card | First findings in minutes