{"id":"DHI-oncs-dg2b-lqqq-qafw","summary":"DOMPurify 3.0.0 before 3.4.9 does not reset the retained Trusted Types policy when clearConfig() is called, so a…","details":"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.","modified":"2026-11-21T12:30:43.283648274Z","published":"2026-11-11T16:37:28Z","upstream":["CVE-2026-65899"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-oncs-dg2b-lqqq-qafw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65899"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/dompurify-before-trusted-types-policy-state-contamination"},{"type":"ADVISORY","url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-vxr8-fq34-vvx9"},{"type":"FIX","url":"https://github.com/cure53/DOMPurify/commit/825e617753ac1169306a542d3174a77f717a0cf6"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-65899"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vxr8-fq34-vvx9"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-65899"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-65899"}],"affected":[{"package":{"name":"grist","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/grist"},"versions":["1.7.17-0","1.7.17-1","1.7.17-2","1.7.17-3","1.7.17-4","1.7.17-5","1.7.17-6","1.7.19-2","1.7.19-3","1.7.19-4","1.7.19-5","1.7.19-6","1.7.20-0","1.7.20-10","1.7.20-7","1.7.20-8","1.7.20-9","1.7.21-0","1.7.21-1","1.7.21-2","1.7.21-3","1.7.21-4","1.7.21-5","1.7.21-6","1.7.21-7","1.7.21-8","1.7.21-9","1.7.22-1","1.7.22-10","1.7.22-11","1.7.22-12","1.7.22-13","1.7.22-2","1.7.22-3","1.7.22-4","1.7.22-5","1.7.22-6","1.7.22-7","1.7.22-8","1.7.22-9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-oncs-dg2b-lqqq-qafw.json","owner_kind":"HSP"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}