# CVE-2026-116803: DOMPurify before 3.4.17 DOM XSS via IN_PLACE Hook-Detached Subtrees

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-22T16:24:52.000Z
- Modified: 2026-11-19T00:15:04.695Z
- Also known as: GHSA-mrv2-3pqr-j5jr
- Weaknesses: CWE-79, CWE-693
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

DOMPurify before 3.4.17 contains a cross-site scripting vulnerability that allows attackers to keep event handlers armed when an IN_PLACE hook removes a parent or sibling node. Attacker markup in detached subtrees is never walked or neutralized, so handlers like img onerror fire after sanitize() returns, causing DOM XSS.

(As written by CVE List.)

## Affected

- cure53 DOMPurify: before 3.4.17 (not affected: 3.4.17)
- dompurify (npm): before 3.4.17

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`

## References

- <https://github.com/cure53/DOMPurify/security/advisories/GHSA-mrv2-3pqr-j5jr> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/dompurify-before-3.4.17-dom-xss-via-in-place-hook-detached-subtrees> (third-party-advisory)
- <https://github.com/cure53/DOMPurify/pull/1672> (web)
- <https://github.com/cure53/DOMPurify/commit/a77a3e78b59f72fa4d1c83f22e121ad9cc7d3575> (web)
- <https://github.com/cure53/DOMPurify> (package)
- <https://github.com/cure53/DOMPurify/releases/tag/3.4.17> (web)

## Sources

- CVE List: [CVE-2026-116803](https://www.cve.org/CVERecord?id=CVE-2026-116803), CVE Terms of Use, modified 2026-10-31
- GitHub Advisory Database: [GHSA-mrv2-3pqr-j5jr](https://github.com/advisories/GHSA-mrv2-3pqr-j5jr), CC-BY-4.0, modified 2026-11-19
- NVD: [CVE-2026-116803](https://nvd.nist.gov/vuln/detail/CVE-2026-116803), Public domain, modified 2026-10-31

---

Page: https://cve.day/CVE-2026-116803 · Whole record: https://cve.day/CVE-2026-116803.json · Rebuilt by cve.day 2026-11-25T22:59:47.312Z
