# CVE-2026-75838: DOMPurify before 3.4.13 Cross-Site Scripting via IN_PLACE hook

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/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.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-07T15:30:47.000Z
- Modified: 2026-10-22T22:10:00.250Z
- Also known as: GHSA-55q2-fjhq-7xh7
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

DOMPurify before 3.4.13 contains a cross-site scripting vulnerability in IN_PLACE sanitization where element-removal hooks fail to neutralize detached subtrees. Attackers can supply HTML with event handlers on descendant elements that execute after sanitization completes, even though the returned root appears clean.

(As written by CVE List.)

## Affected

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

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`

## References

- <https://github.com/cure53/DOMPurify/security/advisories/GHSA-55q2-fjhq-7xh7> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/dompurify-before-cross-site-scripting-via-in-place-hook> (third-party-advisory)
- <https://github.com/cure53/DOMPurify/pull/1557> (web)
- <https://github.com/cure53/DOMPurify/commit/3067f7746769> (web)
- <https://github.com/cure53/DOMPurify> (package)
- <https://github.com/cure53/DOMPurify/releases/tag/3.4.13> (web)

## Sources

- CVE List: [CVE-2026-75838](https://www.cve.org/CVERecord?id=CVE-2026-75838), CVE Terms of Use, modified 2026-08-18
- GitHub Advisory Database: [GHSA-55q2-fjhq-7xh7](https://github.com/advisories/GHSA-55q2-fjhq-7xh7), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-75838](https://nvd.nist.gov/vuln/detail/CVE-2026-75838), Public domain, modified 2026-10-22

---

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