{"schema":"threatline.record/2","record":{"id":"CVE-2026-105862","aliases":["GHSA-2pwp-2369-8fg3"],"summary":"Payload: Bypassed sanitization of user uploaded SVGs","details":"## Impact\n\nA malicious SVG file upload could bypass sanitization, be stored, and execute attacker-controlled JavaScript (XSS) after a user downloads it and opens it.\n\n**You are affected if:**\n\n- You have a collection configured to upload and allow SVG files which can then be downloaded by users.\n\n## Patches\n\nThe fix validates SVG content on every upload path and hardens SVG/XML delivery so stored SVGs cannot frame attacker content.\n\nUsers should upgrade Payload packages to `>= 3.90.0` or `>= 4.0.0-canary.34`.\n\n## Workarounds\n\nDisallow SVG uploads, or serve uploaded SVGs as downloads with Content-Disposition: attachment and a strict CSP. These mitigations reduce exposure but do not replace upgrading when the patched release is available.","categories":["Libraries & packages"],"product":"payload","vendor":"payloadcms","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-2pwp-2369-8fg3","source_modified_at":"2026-10-07T20:29:37Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"payload"},"range":"< 3.90.0"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-2pwp-2369-8fg3","source_modified_at":"2026-10-07T20:29:37Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"payload"},"range":">= 4.0.0-canary.0, < 4.0.0-canary.34"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-105862","source_modified_at":"2026-10-06T17:24:09.513Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"payload","vendor":"payloadcms","versions":[{"version":"< 3.90.0","status":"affected"},{"version":">= 4.0.0-canary.0, < 4.0.0-canary.34","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-2pwp-2369-8fg3","source_modified_at":"2026-10-07T20:45:04.330367856Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"payload","ecosystem":"npm","purl":"pkg:npm/payload"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.90.0"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-2pwp-2369-8fg3","source_modified_at":"2026-10-07T20:45:04.330367856Z","fetched_at":"2026-10-23T18:45:31.882637Z","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"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-2pwp-2369-8fg3","source_modified_at":"2026-10-07T20:29:37Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"payload"},"version":"3.90.0"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-2pwp-2369-8fg3","source_modified_at":"2026-10-07T20:29:37Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"payload"},"version":"4.0.0-canary.34"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-2pwp-2369-8fg3","source_modified_at":"2026-10-07T20:45:04.330367856Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"payload","ecosystem":"npm","purl":"pkg:npm/payload"},"version":"3.90.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-2pwp-2369-8fg3","source_modified_at":"2026-10-07T20:45:04.330367856Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"payload","ecosystem":"npm","purl":"pkg:npm/payload"},"version":"4.0.0-canary.34"}],"cvss":8.7,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00271,"percentile":0.18351,"score_date":"2026-10-23"},"published_at":"2026-10-06T16:37:59.487Z","modified_at":"2026-10-07T20:45:04.330367856Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-2pwp-2369-8fg3","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-07T20:29:37Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-105862","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-06T17:24:09.513Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-2pwp-2369-8fg3","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-07T20:45:04.330367856Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-105862","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/payloadcms/payload/security/advisories/GHSA-2pwp-2369-8fg3","tags":["x_refsource_CONFIRM"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105862","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/payloadcms/payload/commit/a8c3a8e8e2680c96ec4f66f5b3854c5df6c35adf","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/payloadcms/payload/releases/tag/v3.90.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-2pwp-2369-8fg3","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","assessed_at":"2026-10-06T17:23:55.762440Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-07T20:45:04.330367856Z","content_hash":"b8b6a39d81031ec523708d5931b3471909817ecd36c87a300fc4f6fc6a38f15e"}}
