Vulnerability
CVE-2026-65902
DOMPurify before 3.4.7 passes direct references to the module-level DEFAULT_ALLOWED_TAGS and DEFAULT_ALLOWED_ATTR sets to the uponSanitizeElement and uponSanitizeAttribute hooks via data.allowedTags / data.allowedAttributes when sanitize is called without an explicit cfg.ALLOWED_TAGS / cfg.ALLOWED_ATTR array. A hook that mutates these fields permanently widens the default allow-lists for the lifetime of the DOMPurify instance, so all subsequent default-config sanitize calls inherit the widened defaults and attacker payloads using the poisoned tag/attribute name survive sanitization. removeAllHooks(), clearConfig(), and passing a fresh cfg do not recover the state; only constructing a new DOMPurify instance does.
119 advisories report this vulnerability, across 8 ecosystems.
Advisories
- CGA-277v-wr75-ppvh
- CGA-28xf-q2q2-w9v2
- CGA-2cmq-4j8g-qfqg
- CGA-2rw9-9657-7rfj
- CGA-2vr6-8v7h-5c26
- CGA-2x6j-pjf4-87ww
- CGA-323x-cccf-6w9g
- CGA-32f4-vmrj-5fjg
- CGA-32hf-7745-gcfr
- CGA-3566-85h3-rc8r
- CGA-36hj-99h2-hg3g
- CGA-3p8g-hvvf-995c
- CGA-44mj-27gp-mvxx
- CGA-4539-v646-r7xc
- CGA-4f93-mq8h-c657
- CGA-4grm-2ccm-52qx
- CGA-4jhf-x7w9-94rf
- CGA-4wgx-4rcj-qxmv
- CGA-522w-249p-5qx2
- CGA-5j2g-mqp8-xmm6
- CGA-5wcc-pmp2-336c
- CGA-633q-qwpr-m2mp
- CGA-64pp-5qrr-7j6f
- CGA-66f7-8mpr-392j
- CGA-66gv-hq5h-x6hc
- CGA-6fr4-6crf-gp7r
- CGA-6gp6-hqrf-cv5q
- CGA-75v9-p79c-hg43
- CGA-762f-c79h-3h55
- CGA-7643-42rm-697c
- CGA-7cvj-qcx8-jc48
- CGA-7q47-mghr-wxh4
- CGA-7r8m-w444-rmjp
- CGA-7v6r-9387-v9qm
- CGA-7xwx-5qrf-rm3f
- CGA-83g8-x353-68x9
- CGA-85m4-893v-9575
- CGA-85mj-fmq8-9h28
- CGA-8f4m-c638-2c55
- CGA-8f55-rmp9-j3pv
- CGA-8rc8-3mww-4f8m
- CGA-8x82-jg6j-7fwp
- CGA-95pj-6rv6-c947
- CGA-95q9-xf5v-xv2p
- CGA-c872-8h4p-p2jp
- CGA-cp49-wxpv-5f5x
- CGA-cvjv-v8m4-xr3j
- CGA-cwcp-cg47-7j5c
- CGA-f378-fhcf-2wv7
- CGA-f6qf-xjq2-h8j5
- CGA-fj2m-qggw-wh49
- CGA-fm23-24wf-2r2m
- CGA-g24q-qx8f-p775
- CGA-g3f3-44x5-qmmq
- CGA-g6c4-5mfm-669m
- CGA-g6cm-vqxq-xwph
- CGA-g9w4-ch56-xf55
- CGA-gr6h-7vfq-83v9
- CGA-gr74-rrxv-h72m
- CGA-gv7w-cr3m-xx8q
- CGA-h3v7-9g8g-rjc6
- CGA-h6rm-m222-m42g
- CGA-h9rh-hf6h-rxgx
- CGA-hfv9-x2jr-chr8
- CGA-hpj2-ff23-9mq8
- CGA-hrgx-9fp2-qjwg
- CGA-j7rv-m628-gqfx
- CGA-j8wg-hh25-xcr8
- CGA-jhv8-28gh-fmh3
- CGA-jrxr-fxgf-wq49
- CGA-jxpp-xcj2-rp54
- CGA-m89h-pfcj-97gw
- CGA-mc99-hw3c-h6mg
- CGA-mm4w-75h5-79vj
- CGA-mpcq-3p47-f7f9
- CGA-mrvj-c6h6-pr74
- CGA-p3pw-mgfw-gpfc
- CGA-pc2w-p3fj-hq6w
- CGA-pm3p-hv57-63ch
- CGA-pm8j-3x5p-8rgc
- CGA-pqcx-x6j6-g2pw
- CGA-pw3c-vjx3-q3ph
- CGA-q6x9-8c38-3jjw
- CGA-qgw8-7xgw-j87f
- CGA-qxh6-h3f3-p89r
- CGA-r5j3-2j88-crx5
- CGA-r85w-2hgc-v6vp
- CGA-rf9m-hfw2-h9r3
- CGA-rpg3-mwhr-j7m2
- CGA-v3rh-r43w-c6x3
- CGA-v7c6-568w-vv5c
- CGA-v836-m955-gg9p
- CGA-vgfg-cxw7-35q9
- CGA-vvqq-8vrv-rrm2
- CGA-w2ch-g8h5-7jxx
- CGA-w5vr-638c-5wmm
- CGA-w7xw-wgf2-xmj4
- CGA-w8q8-87xp-p4cv
- CGA-wcpm-gfwx-p68v
- CGA-wpmq-mvqm-4hmv
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-65902.