8.6high
Payload: Uploaded XML files could execute same-origin JavaScript
- Severity
- 8.6high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-9qpg-3cf8-w33x
Description
Payload is a free and open source headless content management system. In versions before 3.90.0 and canary versions before 4.0.0-canary.34, local upload configurations that accept XML files can store an XML file and stylesheet that execute JavaScript in the Payload origin when a logged-in user opens the file. This issue is fixed in versions 3.90.0 and 4.0.0-canary.34.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| payloadcms payload | < 3.90.0, >= 4.0.0-canary.0, < 4.0.0-canary.34, before 3.90.0, 4.0.0 | CVE List, NVD |
| payload (npm) | before 3.90.0, from 4.0.0-canary.0 before 4.0.0-canary.34 | GitHub Advisory Database |
All scores
| GitHub_M | 8.6high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
Payload is a free and open source headless content management system. In versions before 3.90.0 and canary versions before 4.0.0-canary.34, local upload configurations that accept XML files can store an XML file and stylesheet that execute JavaScript in the Payload origin when a logged-in user opens the file. This issue is fixed in versions 3.90.0 and 4.0.0-canary.34.
GitHub Advisory Database
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-105868 changed 2026-10-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9qpg-3cf8-w33x changed 2026-10-07 | CC-BY-4.0 |
| NVD | CVE-2026-105868 changed 2026-10-15 | Public domain |