# CVE-2026-49459: DOMPurify: IN\_PLACE mode preserves attributes of a clobbered root element, allowing XSS via attacker-controlled root DOM

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-14 · Modified: 2026-07-15
- Aliases: UBUNTU-CVE-2026-49459, DEBIAN-CVE-2026-49459, CGA-36jr-r887-63ff, CGA-3wm9-3448-7xgq, CGA-469j-wmpj-3fm6, CGA-5vw5-2vm5-5j57, CGA-9cf3-vw5p-f34v, CGA-m4rf-82x5-rrv4, CGA-q3ww-26hv-9x7f, CGA-wgvw-g3r9-pggq, CGA-xvm5-v3qh-gfr8, GHSA-r47g-fvhr-h676, CGA-224q-3g99-g46m, CGA-26jv-4pw5-cw5v, CGA-2879-6g6h-rwxr, CGA-2m8w-54jx-628c, CGA-3pqw-mhm4-vh7q, CGA-3v8r-chpj-hfw8, CGA-42c8-369v-6674, CGA-4hjf-8m2q-rx43, CGA-4rpg-q45r-fv5f, CGA-5582-7c59-j5rr, CGA-5g9m-6gfp-4xjr, CGA-5h35-p55x-97x5, CGA-5pc4-2hf4-wgpc, CGA-5pfc-vg53-65h8, CGA-64r3-9qr7-mf8j, CGA-6cpx-x4xx-q3rh, CGA-6cx6-g2v6-3f9x, CGA-6fmq-wqhw-9c6q, CGA-6ggj-32xh-cq33, CGA-7562-hh7q-x7gx, CGA-7757-8c7q-mv9f, CGA-7f3h-c5w9-r274, CGA-7jxr-85h2-6rqj, CGA-8396-f66r-4xf4, CGA-83f6-6q7r-9rhx, CGA-84xq-hjc8-w8gh, CGA-87q3-32m4-5cjj, CGA-892q-x234-xcmv, CGA-8g68-q9jh-rxrp, CGA-8qmg-23jc-q998, CGA-8r32-gmjc-hg72, CGA-92q8-2mc6-3mgh, CGA-968v-2782-qg3m, CGA-98mv-77f5-gcw5, CGA-9fj5-wc44-79m3, CGA-9ghf-3rq8-m332, CGA-9vgv-m9g9-gvr6, CGA-c833-9x3c-5hw2, CGA-cp68-rw7x-9rm6, CGA-cxx3-8c45-mhr4, CGA-f6m2-p7vv-9h5g, CGA-f847-c9gp-6hpp, CGA-f9w3-7c2m-fwx6, CGA-ff77-w5wx-vq78, CGA-fq5m-2ccv-v65h, CGA-frg6-gx99-3ff4, CGA-g25m-f85c-w4rm, CGA-g37w-qr8h-jwgf, CGA-g66f-gg2j-8xxv, CGA-g6xm-64fr-5wc3, CGA-g7j4-7hxq-j2mq, CGA-gjxw-hqjh-w44q, CGA-gx66-mf3q-hrjr, CGA-h57c-cj6p-83q9, CGA-h94j-8vqg-6fgv, CGA-hf69-gg78-9fh4, CGA-hjrf-rwfv-m9hp, CGA-hq56-c26j-hfpw, CGA-hrff-g59f-5q2p, CGA-jg6f-9pr5-hc5c, CGA-jv2h-q72h-p4p5, CGA-jwhj-pprr-c2h9, CGA-jwrx-jq3x-vqxc, CGA-mjg3-4c4h-rpq2, CGA-mm8j-mwgx-59hc, CGA-mxcv-7gcj-x7pq, CGA-p4p4-h65w-9x34, CGA-p9mr-cj92-qx5j, CGA-pc26-25v9-8f6h, CGA-ph34-fg65-vg87, CGA-pjw9-q8vv-f2qw, CGA-pmfv-pwvq-jr2r, CGA-pqgq-8mmw-8wwc, CGA-q463-5wpq-fwpr, CGA-q478-cc4v-8873, CGA-q47f-xfh6-264r, CGA-q6w4-xpjp-jvx6, CGA-qm6p-g2q7-p3j7, CGA-qvh7-4pjw-mghf, CGA-r5rg-gh48-vq85, CGA-r9fr-r5jq-prmr, CGA-r9jp-f798-pqc8, CGA-rcj4-7q6g-2wr5, CGA-rfqw-w2mv-g2c8, CGA-rmrf-w5m7-2jc2, CGA-rq8v-46hq-7xwg, CGA-rqx7-r3xm-q9mr, CGA-rwrg-mm3f-w8pj, CGA-rxwh-xvjm-4f4r, CGA-v52m-jxmg-jxf2, CGA-v63p-vhrw-4pc5, CGA-vmfc-m8vv-g899, CGA-vqqw-h6f5-pfr4, CGA-w2jr-65qp-rc7m, CGA-w8mm-2hjc-w3xq, CGA-w949-m85q-97p9, CGA-w9vv-rx5j-rj4f, CGA-wwqp-mmrq-929p, CGA-x6qw-6g2v-jhm7, CGA-xh5v-693c-4xjm, CGA-xpq7-29pp-gc94, CGA-xxvh-g4w8-gvh8
- Record: https://cvemate.com/vulnerability/CVE-2026-49459 · JSON: https://cvemate.com/vulnerability/CVE-2026-49459/json

## Description

```text
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.6, DOMPurify.sanitize(root, { IN_PLACE: true }) could preserve event-handler attributes on an attacker-controlled <form> root when a descendant name clobbered properties checked by _isClobbered, because _forceRemove no-opped on the parent-less root and _sanitizeAttributes returned early. This issue is fixed in version 3.4.6.
```

## 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.303%, percentile 24.869%, 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 59)

- chainguard airflow-2 (Chainguard): All versions (No fix recorded)
- chainguard airflow-core-2 (Chainguard): All versions (No fix recorded)
- 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.5 (Chainguard): All versions (No fix recorded)
- 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-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.5 (Chainguard): All versions (No fix recorded)
- 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-r47g-fvhr-h676>
- <https://github.com/cure53/DOMPurify/commit/bb7739e5bccec7e1ab3dae3f3e42d02db3acaaae>
- <https://github.com/cure53/DOMPurify/releases/tag/3.4.6>
- <https://ubuntu.com/security/CVE-2026-49459>
- <https://www.cve.org/CVERecord?id=CVE-2026-49459>
- <https://security-tracker.debian.org/tracker/CVE-2026-49459>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49459.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-49459>
- <https://github.com/cure53/DOMPurify>

---

Data as of 2026-12-05T13:05:48.315Z. 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
