{"id":"CVE-2026-105862","published":"2026-10-06T16:37:59Z","modified":"2026-10-06T17:24:09Z","title":"Payload: Bypassed sanitization of user uploaded SVGs","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, a collection that allows downloadable SVG uploads can store a malicious SVG that bypasses sanitization and executes attacker-controlled JavaScript when a user downloads and opens the SVG. This issue is fixed in versions 3.90.0 and 4.0.0-canary.34.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00483,"percentile":0.3431,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/payloadcms/payload/security/advisories/GHSA-2pwp-2369-8fg3","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":13.0,"factors":[{"name":"EPSS percentile","points":6.86},{"name":"CVSS severity","points":6.09}]},"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":"no","technicalImpact":"total","timestamp":"2026-10-06T17:23:55.762440Z","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-2pwp-2369-8fg3"],"provenance":"source"}],"summary":{"text":"The Payload headless CMS contains a sanitization flaw in its handling of user-uploaded SVG files within collections that permit downloadable uploads, allowing a malicious SVG to bypass the sanitization step. An attacker who can upload such a file and get a user to download and open it can execute attacker-controlled JavaScript, which requires low-privilege authenticated access and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:22Z"},"euvd":{"id":"EUVD-2026-93508","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-payloadcms-payload-cve-2026-105847","parents":[{"from":"CVE-2026-105852","to":"CVE-2026-105862","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"}]}],"children":[{"from":"CVE-2026-105862","to":"CVE-2026-105867","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/a8c3a8e8e2680c96ec4f66f5b3854c5df6c35adf","https://github.com/payloadcms/payload/commit/2df8238fbf17edfce335c399b90bf524ba9906a2"],"basis":"rarely changed file"}]}]}}