CVE-2026-105868
JSON

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 packageVersionsReported by
payloadcms payload< 3.90.0, >= 4.0.0-canary.0, < 4.0.0-canary.34, before 3.90.0, 4.0.0CVE List, NVD
payload (npm)before 3.90.0, from 4.0.0-canary.0 before 4.0.0-canary.34GitHub Advisory Database

All scores

GitHub_M8.6high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Classification

CWE-434

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

SourceRecordLicence
CVE ListCVE-2026-105868 changed 2026-10-09CVE Terms of Use
GitHub Advisory DatabaseGHSA-9qpg-3cf8-w33x changed 2026-10-07CC-BY-4.0
NVDCVE-2026-105868 changed 2026-10-15Public domain