{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-65899","id":"CVE-2026-65899","title":"DOMPurify before 3.4.9 Trusted Types Policy State Contamination","description":"DOMPurify 3.0.0 before 3.4.9 does not reset the retained Trusted Types policy when clearConfig() is called, so a DOMPurify instance reused across trust boundaries stays bound to a previously supplied TRUSTED_TYPES_POLICY. A later caller that requests RETURN_TRUSTED_TYPE output receives a TrustedHTML object created by the old (potentially unsafe) policy rather than a clean default, which can lead t","descriptionLong":"DOMPurify 3.0.0 before 3.4.9 does not reset the retained Trusted Types policy when clearConfig() is called, so a DOMPurify instance reused across trust boundaries stays bound to a previously supplied TRUSTED_TYPES_POLICY. A later caller that requests RETURN_TRUSTED_TYPE output receives a TrustedHTML object created by the old (potentially unsafe) policy rather than a clean default, which can lead to script execution at a Trusted Types sink. Passing TRUSTED_TYPES_POLICY: null on the later call also does not clear the retained policy.","published":"2026-07-23T13:16:18.389Z","updated":"2026-11-11T10:30:55.322383639Z","reserved":"2026-07-23T11:03:13.092Z","status":"Analyzed","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"medium","source":"VulnCheck"},"metrics":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"medium","source":"VulnCheck"},{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"vulncheck.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"low","source":"GitHub"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"VulnCheck"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"vulncheck.com"}],"rating":"medium","products":["cure53 DOMPurify"],"affectedProducts":[{"vendor":"cure53","product":"DOMPurify","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","versionType":"semver","lessThan":"3.4.9"},{"version":"3.4.9","status":"unaffected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"dompurify","purl":"pkg:npm/dompurify","ranges":["<3.4.9"],"fixed":["3.4.9"],"advisory":"GHSA-vxr8-fq34-vvx9"}],"cwes":["CWE-693"],"aliases":["GHSA-vxr8-fq34-vvx9"],"references":[{"url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-vxr8-fq34-vvx9","tags":["vendor-advisory","Exploit","Third Party Advisory","advisory","web"]},{"url":"https://github.com/cure53/DOMPurify/commit/825e617753ac1169306a542d3174a77f717a0cf6","tags":["patch","Patch","fix"]},{"url":"https://www.vulncheck.com/advisories/dompurify-before-trusted-types-policy-state-contamination","tags":["third-party-advisory","Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65899.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65899","tags":["advisory"]},{"url":"https://github.com/cure53/DOMPurify","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00413,"epssPercentile":0.36287,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-65899","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65899","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-65899","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vxr8-fq34-vvx9","ok":true,"note":"GHSA-vxr8-fq34-vvx9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-65899","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}