{"schema":"threatline.record/2","record":{"id":"CVE-2026-116804","aliases":["GHSA-cg2g-xh64-v4q7"],"summary":"DOMPurify from 3.4.4 before 3.4.17 SAFE_FOR_TEMPLATES Bypass via Shadow Root Content","details":"DOMPurify from 3.4.4 before 3.4.17 contains a SAFE_FOR_TEMPLATES bypass that lets attackers preserve template expressions in attached shadow roots when using RETURN_DOM, RETURN_DOM_FRAGMENT, or IN_PLACE modes. Attackers can split expressions across text nodes separated by disallowed elements, which merge after removal and are evaluated by downstream template engines for cross-site scripting.","categories":["Libraries & packages"],"product":"DOMPurify","vendor":"cure53","ecosystem":"npm","affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-116804","source_modified_at":"2026-10-26T23:05:35.850Z","fetched_at":"2026-10-26T23:45:56.352924Z","product":"DOMPurify","vendor":"cure53","versions":[{"version":"3.4.4","status":"affected","versionType":"semver","lessThan":"3.4.17"},{"version":"3.4.17","status":"unaffected","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-cg2g-xh64-v4q7","source_modified_at":"2026-10-22T16:45:03.731164651Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"dompurify","purl":"pkg:npm/dompurify"},"ranges":[{"events":[{"introduced":"3.4.4"},{"fixed":"3.4.17"}],"type":"SEMVER"}],"versions":[]}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-116804","source_modified_at":"2026-10-26T23:05:35.850Z","fetched_at":"2026-10-26T23:45:56.352924Z","package":{"name":"DOMPurify","ecosystem":null},"version":"3.4.17","basis":"first unaffected version stated in the CVE record"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-cg2g-xh64-v4q7","source_modified_at":"2026-10-22T16:45:03.731164651Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"dompurify","purl":"pkg:npm/dompurify"},"version":"3.4.17"}],"cvss":5.1,"severity":"Medium","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-26T23:05:35.850Z","modified_at":"2026-10-26T23:05:35.850Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-116804","fetched_at":"2026-10-26T23:45:56.352924Z","source_modified_at":"2026-10-26T23:05:35.850Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-cg2g-xh64-v4q7","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-22T16:45:03.731164651Z"}],"sources":["CVE List","OSV"],"references":[{"source":"CVE List","url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-cg2g-xh64-v4q7","tags":["vendor-advisory"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/dompurify-from-3.4.4-before-3.4.17-safe-for-templates-bypass-via-shadow-root-content","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-26T23:05:35.850Z","content_hash":"75d9b920fc49db80b0fc21de1bca6f25a832a905d1bf10aea51fb97cf1df08c3"}}
