{"id":"CVE-2026-105868","published":"2026-10-06T16:51:34Z","modified":"2026-10-09T01:17:45Z","title":"Payload: Uploaded XML files could execute same-origin JavaScript","vendor":"payloadcms","product":"payload","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00296,"percentile":0.14696,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/payloadcms/payload/security/advisories/GHSA-9qpg-3cf8-w33x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/payloadcms/payload/commit/a8c3a8e8e2680c96ec4f66f5b3854c5df6c35adf","tags":["x_refsource_MISC"]},{"url":"https://github.com/payloadcms/payload/releases/tag/v3.90.0","tags":["x_refsource_MISC"]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":2.94},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"payloadcms","affectedVersions":[{"vendor":"payloadcms","product":"payload","versions":["< 3.90.0",">= 4.0.0-canary.0, < 4.0.0-canary.34"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-09T01:17:27.846201Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"payload","vulnerableRanges":["<3.90.0",">=4.0.0-canary.0, <4.0.0-canary.34"],"patched":["3.90.0","4.0.0-canary.34"],"from":["GHSA-9qpg-3cf8-w33x"],"provenance":"source"}],"summary":{"text":"Payload, an open source headless content management system, has a flaw in local upload configurations that accept XML files: an uploaded XML file and stylesheet can be stored and then execute JavaScript in the Payload origin. An attacker who can upload such a file, with a logged-in user then opening it from a user-interaction standpoint, can run script in the application's own origin, which requires a user to be authenticated and to take the action of opening the file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:30Z"},"euvd":{"id":"EUVD-2026-93514","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-payloadcms-payload-cve-2026-105847","parents":[{"from":"CVE-2026-105852","to":"CVE-2026-105868","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/payload/src/exports/shared.ts"],"commits":["https://github.com/payloadcms/payload/commit/94059cf4bc6170ce88453015c0c6551329ae3982","https://github.com/payloadcms/payload/commit/a8c3a8e8e2680c96ec4f66f5b3854c5df6c35adf"],"basis":"rarely changed file"}]},{"from":"CVE-2026-105867","to":"CVE-2026-105868","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/storage-s3/src/generateSignedURL.ts"],"commits":["https://github.com/payloadcms/payload/commit/2df8238fbf17edfce335c399b90bf524ba9906a2","https://github.com/payloadcms/payload/commit/a8c3a8e8e2680c96ec4f66f5b3854c5df6c35adf"],"basis":"rarely changed file"}]}]}}