# CVE-2026-66010: DOMPurify before 3.4.12 Hook Bypass via CUSTOM\_ELEMENT\_HANDLING

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-24 · Modified: 2026-09-17
- Aliases: UBUNTU-CVE-2026-66010, DEBIAN-CVE-2026-66010, CGA-264v-6ghf-v6cj, CGA-3cm9-8w2w-r7mc, CGA-3f88-hqm5-pfqw, CGA-3j59-32v2-cc4v, CGA-3v8p-7rrj-84xc, CGA-42qx-26vq-gr4g, CGA-4m25-h6mp-mxm4, CGA-4r7q-7phj-5rj8, CGA-4w38-7f2q-jqm9, CGA-55fx-jccf-pgcw, CGA-582h-8q6x-m2pf, CGA-5x9j-x48g-9xwj, CGA-6vx9-j676-5763, CGA-79rr-j65v-p83c, CGA-8qrw-jq6m-7j8p, CGA-976v-fpjw-mg7q, CGA-99xw-vc64-628g, CGA-f9c5-2286-8xwm, CGA-frc4-rqmx-887g, CGA-g9vg-p8v2-w4q4, CGA-gwhm-99jg-vh49, CGA-hhhg-j3qm-r3c3, CGA-hrgm-8952-9w7q, CGA-jff6-8wh9-g46m, CGA-mx5x-3hc8-h4cv, CGA-qp9x-q776-hg4c, CGA-qvqg-254r-9gh2, CGA-rwgw-qpjh-j4qg, CGA-vrc6-82r8-w59r, CGA-w2qr-whqw-j3hx, CGA-wg52-4wq4-rxx4, CGA-xgrh-qhr4-7wh4, CGA-xr7c-pxrr-7ww7, GHSA-c2j3-45gr-mqc4, CGA-2457-x37p-9vrp, CGA-248g-x8h9-8h3f, CGA-25h3-fgg3-584r, CGA-26pv-7jf5-jqq4, CGA-2726-f699-p8hj, CGA-27mw-mmvh-mjv8, CGA-2c36-795x-76r8, CGA-2cfq-jv7q-7gwv, CGA-2hxf-cqpv-9qj4, CGA-2j62-5v2w-cfv7, CGA-2pcf-4552-cc72, CGA-2v8x-8xr7-pfjx, CGA-3c84-4x35-62gh, CGA-3jpm-9488-pmjj, CGA-3m8x-xh5j-v2h7, CGA-3mh3-6272-gcvx, CGA-3pwj-6vxc-vrwq, CGA-3vv7-hgr3-m7cc, CGA-44v2-65gm-46cm, CGA-45cf-r33f-rqw7, CGA-45vq-7rrj-cppv, CGA-45w2-vxvm-v94w, CGA-47gv-qh4c-jwx7, CGA-48jr-9v8q-mcjj, CGA-49fg-cm68-rq2q, CGA-4cqc-266f-r2vj, CGA-4fxx-v95m-5468, CGA-4g6q-82gm-93r2, CGA-4hf8-mp79-65gv, CGA-4j7p-3h5x-5px6, CGA-4p26-pxrf-w8c9, CGA-4v9q-xw3g-786m, CGA-53g5-58p5-x738, CGA-555p-mrwj-f4jx, CGA-59p3-4mrw-pf5w, CGA-5f4j-j6rx-xf6q, CGA-5h2r-m9fv-pq6v, CGA-5hhm-jgq3-3c38, CGA-5mrq-r38m-3h52, CGA-5wcr-pp7j-wr3g, CGA-62r6-gw57-qh6p, CGA-63cj-8hx9-wvrj, CGA-64jj-mj3v-6rp9, CGA-64mw-m2qr-w587, CGA-6875-x6j8-j798, CGA-6fgw-8536-8hv7, CGA-6gpp-mqxg-5v23, CGA-6h8c-4mfq-hmhf, CGA-6hc6-jw3h-v2m2, CGA-6j64-5g9x-3ghf, CGA-6p2m-vc47-q3p5, CGA-6r4p-x7fp-wq32, CGA-6xg3-g9j8-2q47, CGA-6xvp-mgch-66vq, CGA-75c4-x5m3-683c, CGA-76jf-f6p8-wwj5, CGA-775j-4h8m-8jqc, CGA-77ff-57rj-w746, CGA-7855-rcrc-6xmj, CGA-786g-w5g2-55q3, CGA-7c8p-3p65-f5c3, CGA-7ffp-wx82-4pwc, CGA-7h2h-c34m-423m, CGA-7m78-q5fr-29xp, CGA-7pvq-44p9-vwh4, CGA-7q89-v84q-h8xf, CGA-7r7v-f7w4-cc7p, CGA-7vwm-5vhh-7cw7, CGA-7whp-3gvc-3c63, CGA-7wr4-xgv8-3g55, CGA-8359-pmm5-f3gc, CGA-85gh-gg2m-c236, CGA-88mf-q53x-w3rj, CGA-89gx-chjv-8h7v, CGA-89rp-35p9-mhm7, CGA-8jmq-m82h-3c94, CGA-8q67-ggw5-rw3m, CGA-92p8-79w7-wgmc, CGA-93cv-7x9c-25r4, CGA-9729-9q5v-cfwh, CGA-9f6m-rfpv-h7x3, CGA-9jjr-4525-5gmh, CGA-9mcm-m698-g457, CGA-9p4j-ffhp-9fmr, CGA-9r6j-q455-hfmq, CGA-c7qx-78fx-xwqq, CGA-cc2p-xqcj-5xv6, CGA-ccwg-743c-q894, CGA-cjvw-3f9w-gvfh, CGA-cmq7-25wc-2v3x, CGA-cp9q-g9cc-9g2g, CGA-cq9c-fxf7-hxhh, CGA-cqf3-pwx5-927j, CGA-cwvq-84hf-gfpj, CGA-f489-v755-r6rv, CGA-f4jj-7gh4-fjj5, CGA-f844-7prx-rjfr, CGA-ffqm-7qf2-g48g, CGA-fjhw-g9m7-wj4h, CGA-fp72-gmqj-46h2, CGA-fq2f-hgfc-9pqg, CGA-fqpx-8wm4-rhhq, CGA-fw7p-2rgh-x2cw, CGA-g2vp-28hh-hf85, CGA-g3wf-j4p4-88hx, CGA-g3wf-xjxh-mh43, CGA-g726-fprv-3c7h, CGA-gfw7-wq4j-8p2p, CGA-gg2x-qgh2-h53c, CGA-ggcv-mcqv-j48w, CGA-ggvq-8769-34fw, CGA-gh7g-wj5j-h7f8, CGA-gj78-mvq6-c2v2, CGA-gr53-x25q-hp9j, CGA-h2ff-crw2-q3ww, CGA-h33f-xgjg-gm9m, CGA-h3jc-g4p7-7hgj, CGA-h3p6-pv9v-66f7, CGA-h4h3-pvxv-9p7j, CGA-h4jx-3vpm-9g3h, CGA-h78j-r3xr-pj2v, CGA-h82q-gr5p-p8m9, CGA-h82v-32gc-fhxc, CGA-h8j3-4x6q-q436, CGA-h8jx-m44f-qmfj, CGA-h93w-qqvv-c3mj, CGA-hcrx-w72f-pgxg, CGA-hgp5-275v-h9pq, CGA-hm22-mwm2-9fp4, CGA-hmm3-phrh-r885, CGA-hq4c-h3g9-h9fq, CGA-hw3f-cwr2-6mc5, CGA-hwm8-fgm4-3jr8, CGA-hwvj-43mc-hf6g, CGA-j2g2-2h9m-wfpj, CGA-j5vp-5xqj-hcq2, CGA-j762-6824-qq6c, CGA-j8jv-xjmh-gx3j, CGA-j9vp-39mf-q7ww, CGA-jfhh-hx73-f32g, CGA-jhfv-9p77-r2jv, CGA-jj77-hhg6-mxm7, CGA-jq3r-x45j-37gj, CGA-jqpj-4jhh-484p, CGA-jrxm-wgq2-vgpq, CGA-jv5w-97wr-vqcc, CGA-m7v5-g927-hrv4, CGA-m867-575c-fhgj, CGA-m8q3-3rjc-xcqp, CGA-mcxw-424m-cm5q, CGA-mg5c-38hg-jx7f, CGA-mv2w-fwc8-357p, CGA-mvp2-qvhp-5ph4, CGA-mx7j-xw8q-qg7c, CGA-mxv9-jvxc-pq27, CGA-p2g5-457j-36r8, CGA-p46h-gw85-r4gf, CGA-p5qj-v3m4-qmv8, CGA-p6vm-3c93-fcvf, CGA-p92q-pgrm-hx3g, CGA-phvg-3p2x-66q5, CGA-pj53-63jg-cr7f, CGA-pqwf-2xv2-pxr6, CGA-pv6r-pgj7-c9w8, CGA-q43f-854w-gw2g, CGA-q66f-qgpw-244g, CGA-q6v6-vxch-m9w5, CGA-q965-gq9r-55jm, CGA-q9c6-p3c9-m36f, CGA-q9w7-93xp-23pw, CGA-qf2p-fjm4-82r8, CGA-qhgj-9r74-v684, CGA-qm8v-pfhr-wr4x, CGA-qpg2-qhm4-8f7h, CGA-qppf-76qf-hpvw, CGA-qvhf-75w4-87v9, CGA-qx6p-8fq8-75qx, CGA-qxp4-5jfr-2mmr, CGA-r2mp-r6gx-3jr4, CGA-r56g-7gmh-xh4w, CGA-r584-9cj3-m859, CGA-r6px-2mwr-7974, CGA-r85x-fr8j-jf3g, CGA-r8c4-6gg3-hh46, CGA-r988-qxch-5f7x, CGA-rc4m-w2c8-prg9, CGA-rmpv-h22h-v9jj, CGA-rpvq-4xcg-5rc3, CGA-rr43-cmg9-r247, CGA-rv44-3p8x-r8x7, CGA-rxcm-vx6q-379c, CGA-rxf8-cm22-g2j4, CGA-rxrq-hv53-qm24, CGA-v3qc-hcm7-r6j9, CGA-v466-6hv5-968g, CGA-v6wv-2h3f-qwvw, CGA-v8hv-r722-jxvh, CGA-v8vr-vmfq-3g3j, CGA-vf92-p266-47g2, CGA-vfpc-7q5r-vcjh, CGA-vgqp-gjj3-fhwf, CGA-vhq3-p3cm-hjc8, CGA-vmp4-ggfh-cc57, CGA-vqg7-6j42-gfcr, CGA-vqgw-w5c8-g8g4, CGA-vv2p-7vvf-g24c, CGA-w6h6-j793-r4f5, CGA-w93q-83r2-v57c, CGA-wh79-f9r6-gw98, CGA-wm62-7mxm-9r8p, CGA-wmvj-rvhj-f3c8, CGA-x37w-vfjv-gm7f, CGA-x4wp-frqv-rgxc, CGA-x69q-38hp-xfp2, CGA-x95w-44rc-4r8p, CGA-xp3j-hq4q-gpq6, CGA-xqrr-v9vc-mf4g, CGA-xr6r-4xq3-cf37, CGA-xv2v-rjmp-xcqx
- Record: https://cvemate.com/vulnerability/CVE-2026-66010 · JSON: https://cvemate.com/vulnerability/CVE-2026-66010/json

## Description

```text
DOMPurify before 3.4.12 fails to execute afterSanitizeElements hook for custom elements allowed via CUSTOM_ELEMENT_HANDLING.tagNameCheck, allowing attributes to bypass application security policies. Attackers can preserve sensitive attributes on custom elements that later re-inject them into innerHTML sinks, creating second-order XSS gadgets.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.215%, percentile 12.651%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 122)

- chainguard airflow-2 (Chainguard): All versions (No fix recorded)
- chainguard airflow-core-2 (Chainguard): All versions (No fix recorded)
- chainguard awx (Chainguard): \< 24.6.1-r45
- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded) \| \< 18.11.13-r0
- chainguard gitlab-rails-ce-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): All versions (No fix recorded) \| \< 19.0.10-r0
- chainguard gitlab-rails-ce-19.1 (Chainguard): \< 19.1.7-r6
- chainguard gitlab-rails-ce-19.2 (Chainguard): \< 19.2.5-r2
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): \< 18.10.8-r8
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): \< 18.11.12-r2
- chainguard gitlab-rails-ce-fips-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.9 (Chainguard): \< 18.9.8-r8

## References

- <https://github.com/cure53/DOMPurify/security/advisories/GHSA-c2j3-45gr-mqc4>
- <https://www.vulncheck.com/advisories/dompurify-before-hook-bypass-via-custom-element-handling>
- <https://ubuntu.com/security/CVE-2026-66010>
- <https://www.cve.org/CVERecord?id=CVE-2026-66010>
- <https://security-tracker.debian.org/tracker/CVE-2026-66010>
- <https://github.com/cure53/DOMPurify/pull/1537>
- <https://github.com/cure53/DOMPurify/commit/a9ca1e537422319a557a9a2aa61f003b23b4a197>
- <https://github.com/cure53/DOMPurify>
- <https://github.com/cure53/DOMPurify/releases/tag/3.4.12>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-66010>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66010.json>

---

Data as of 2026-12-05T10:01:48.537Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
