Vulnerability
CVE-2026-65900
DOMPurify versions >=3.0.0 and before 3.4.8, when configured with SAFE_FOR_TEMPLATES together with a DOM output mode (RETURN_DOM, RETURN_DOM_FRAGMENT, or IN_PLACE), fail to strip template expressions (e.g. ${evil}, {{evil}}, <%evil%>) inside <template> element content. The final normalization/scrub pass (_scrubTemplateExpressions) uses a NodeIterator and node.normalize() that do not descend into template.content, so expressions that only form after adjacent text nodes merge survive sanitization. This bypasses SAFE_FOR_TEMPLATES and can allow a downstream template engine to evaluate attacker-supplied expressions. The string output path is not affected.
118 advisories report this vulnerability, across 8 ecosystems.
Advisories
- CGA-237g-69x8-42xg
- CGA-26mq-g834-5vpw
- CGA-2j2q-695h-3mwc
- CGA-2mfg-9cqm-x2w4
- CGA-2pff-6pff-7mm9
- CGA-2q7r-3fr2-hqjx
- CGA-2r6h-hmpr-986h
- CGA-342g-6h2q-8484
- CGA-37c5-x839-crv6
- CGA-37h2-qmx8-5p67
- CGA-3hf4-p557-px96
- CGA-3pjp-32j5-4q36
- CGA-3whv-w84g-gp33
- CGA-45h7-jj55-253r
- CGA-4px9-5mp6-mm5h
- CGA-54qr-64v6-ggf4
- CGA-55vr-h3x7-r5cf
- CGA-56jc-wwmh-hgjp
- CGA-59x8-vfhr-fwcq
- CGA-5cm2-m39g-5mv8
- CGA-5vxq-4jv5-fwgh
- CGA-67f6-5gj2-x798
- CGA-685p-vpc6-v4xr
- CGA-6934-4v9c-pp2g
- CGA-6hmm-q443-3mjh
- CGA-6mmh-9v38-2h7j
- CGA-7292-vj3c-hg25
- CGA-76wg-gwj2-jwvr
- CGA-7frm-8hp9-jf4p
- CGA-7hph-7r5f-wx3h
- CGA-7q36-5fpr-5jmf
- CGA-7xjp-v5vw-pgjg
- CGA-8239-775h-2jv7
- CGA-835x-jc7q-wp6w
- CGA-894x-jv6p-885w
- CGA-8fcj-qc3x-hgff
- CGA-8j28-3v69-5c7h
- CGA-8v5c-65qq-xppr
- CGA-8wx2-r6f3-5v5h
- CGA-8xw2-fq45-gh8j
- CGA-924c-39mq-pj4j
- CGA-93r2-56v5-6xmp
- CGA-9g2g-pq7v-hrg7
- CGA-c358-2hjp-m3fm
- CGA-c482-5fjq-wgh9
- CGA-c764-c929-8345
- CGA-c9hf-6v8h-frgv
- CGA-ccgg-rjmc-32vx
- CGA-ccwc-wpm2-627f
- CGA-cfr3-mg59-c6jv
- CGA-ch93-qg7j-5f3m
- CGA-cjch-3qfx-xpx8
- CGA-cr42-g699-779r
- CGA-crg4-hmvc-fp4v
- CGA-fc69-h7pj-p9m2
- CGA-fffm-3jp4-r9hc
- CGA-fh2w-9crx-j2rm
- CGA-fhhh-fwcc-wv3f
- CGA-fjxq-vxqg-x9qj
- CGA-fq3r-3wrg-p469
- CGA-fwvw-fxhm-m5ff
- CGA-g7v7-mr2q-h8jw
- CGA-gfqr-6g6g-28fx
- CGA-gh2c-wj6r-9gh4
- CGA-h3gv-h2wm-vrh6
- CGA-h48m-hxhx-5mpj
- CGA-h82c-5gf3-w4x5
- CGA-hfmv-vccf-pj24
- CGA-hrfj-qjg9-f2jx
- CGA-hrvh-p598-qpr9
- CGA-hvh3-xpgr-gf38
- CGA-hx73-qfrg-r8qc
- CGA-j7rj-qmfx-vxrh
- CGA-jxxw-m2gw-gw5c
- CGA-m6pg-vcwx-7g8r
- CGA-m7qv-7rmp-73vp
- CGA-m8qf-g4jc-gj5f
- CGA-m925-h9v6-jvf3
- CGA-mc67-4r7c-cgr3
- CGA-mfwq-rxx6-cqmr
- CGA-mjp5-j578-pxhf
- CGA-mmqx-68f2-cw6x
- CGA-mqrm-rmrr-p2f8
- CGA-mrp8-g6fh-5hwq
- CGA-p6c5-xh43-g484
- CGA-p6p2-6fj5-68mw
- CGA-ppg3-5wmx-qm9f
- CGA-qm4f-mghr-jcfr
- CGA-qpg7-m2wj-449p
- CGA-qrx8-v298-jwp8
- CGA-r39g-h9vj-5v5r
- CGA-r87q-2cxx-h3fc
- CGA-rh2v-hq55-fqph
- CGA-v8qv-243x-h5m8
- CGA-v8rm-46vx-8hv9
- CGA-vjm5-6fg7-4c3v
- CGA-vjq5-r446-6cmg
- CGA-vvmm-p5px-m37g
- CGA-vwxm-959q-cch8
- CGA-w343-4q3v-g697
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-65900.