Vulnerability
CVE-2026-65899
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.
160 advisories report this vulnerability, across 8 ecosystems.
Advisories in Wolfi
- CGA-2jjw-q9hq-jgw8
- CGA-2m57-v9pp-rpcw
- CGA-4qq2-hghf-fq6m
- CGA-5hg4-x99f-g28q
- CGA-5w25-hvhf-p4jv
- CGA-6ghh-93gr-7r3j
- CGA-6v3p-7hm4-r9hg
- CGA-87hx-66p6-wh64
- CGA-8c9w-gv9v-h6hj
- CGA-8jqr-g5fw-8wqp
- CGA-8qfr-3hq4-jr36
- CGA-8xj2-83f4-8f5x
- CGA-9f6f-337m-q5q8
- CGA-c29v-5rmp-qv3h
- CGA-cm7j-27wr-x387
- CGA-h4q9-6pgm-hhxq
- CGA-hhhj-89fg-m8fx
- CGA-j5w4-rh28-5957
- CGA-j6v4-439m-46p3
- CGA-jf25-89x7-3wm6
- CGA-mjmh-7m3w-jhhw
- CGA-mqgj-hf4p-cxjc
- CGA-phf3-8q62-rp98
- CGA-pj63-g3cg-5vxx
- CGA-v27f-f7gf-rppw
- CGA-v788-ffj2-jvxw
- CGA-vr2m-vxfc-j72m
- CGA-vrx5-843j-v4h2
- CGA-w5x7-vwrr-49g2
- CGA-w89m-g4fw-9wv4
- CGA-w8xc-65cv-6j6c
- CGA-x999-hxjf-mvgc
- CGA-xr5w-rgqq-37cg