{"id":"CVE-2026-105868","aliases":["CVE-2026-105868","GHSA-9qpg-3cf8-w33x"],"related":[],"kind":"vulnerability","state":"published","title":"Payload: Uploaded XML files could execute same-origin JavaScript","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nUnder 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.\n\nYou are affected if:\n- You accept XML uploads (accepted by default).\n\n### Patches\nUsers should upgrade Payload packages to `>= 3.90.0` or `>= 4.0.0-canary.34`.\n\n### Workarounds\nDisallow XML/XSL uploads.","format":"markdown","source":"ghsa"}],"published":"2026-10-06T16:51:34.054Z","modified":"2026-10-15T00:13:30.413Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L","score":7.1,"rating":"HIGH"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"version":"< 3.90.0","status":"affected"},{"version":">= 4.0.0-canary.0, < 4.0.0-canary.34","status":"affected"}],"vendor":"payloadcms","product":"payload","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.90.0"}],"ecosystem":"npm","package":"payload","purl":"pkg:npm/payload","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"4.0.0-canary.0","status":"affected","fixed":"4.0.0-canary.34"}],"ecosystem":"npm","package":"payload","purl":"pkg:npm/payload","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.90.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"}],"vendor":"payloadcms","product":"payload","cpe":"cpe:2.3:a:payloadcms:payload:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/payloadcms/payload/security/advisories/GHSA-9qpg-3cf8-w33x","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/payloadcms/payload/commit/a8c3a8e8e2680c96ec4f66f5b3854c5df6c35adf","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/payloadcms/payload/releases/tag/v3.90.0","tags":["patch","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105868","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/payloadcms/payload","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-09T01:17:27.846Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-105868","url":"https://www.cve.org/CVERecord?id=CVE-2026-105868","licence":"CVE Terms of Use","modified":"2026-10-09T01:17:45.783Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9qpg-3cf8-w33x","url":"https://github.com/advisories/GHSA-9qpg-3cf8-w33x","licence":"CC-BY-4.0","modified":"2026-10-07T20:45:04.340Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-105868","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105868","licence":"Public domain","modified":"2026-10-15T00:13:30.413Z"}],"updatedAt":"2026-11-25T22:59:42.380Z","epss":{"score":0.00165,"percentile":0.06043,"date":"2026-12-01T12:00:22.000Z"}}