{"id":"GHSA-9qpg-3cf8-w33x","summary":"Payload: Uploaded XML files could execute same-origin JavaScript","details":"### 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 `\u003e= 3.90.0` or `\u003e= 4.0.0-canary.34`.\n\n### Workarounds\nDisallow XML/XSL uploads.","aliases":["CVE-2026-105868"],"modified":"2026-10-07T20:45:04.340988934Z","published":"2026-10-07T20:28:53Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-10-07T20:28:53Z","nvd_published_at":"2026-10-06T17:17:23Z","cwe_ids":["CWE-434"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/payloadcms/payload/security/advisories/GHSA-9qpg-3cf8-w33x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105868"},{"type":"WEB","url":"https://github.com/payloadcms/payload/commit/a8c3a8e8e2680c96ec4f66f5b3854c5df6c35adf"},{"type":"PACKAGE","url":"https://github.com/payloadcms/payload"},{"type":"WEB","url":"https://github.com/payloadcms/payload/releases/tag/v3.90.0"}],"affected":[{"package":{"name":"payload","ecosystem":"npm","purl":"pkg:npm/payload"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.90.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-9qpg-3cf8-w33x/GHSA-9qpg-3cf8-w33x.json"}},{"package":{"name":"payload","ecosystem":"npm","purl":"pkg:npm/payload"},"ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0-canary.0"},{"fixed":"4.0.0-canary.34"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-9qpg-3cf8-w33x/GHSA-9qpg-3cf8-w33x.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}