# CVE-2026-109344: DOMPurify from 3.4.13 before 3.4.16 DOM XSS via IN_PLACE afterSanitize Hooks

- 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.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-09-30T15:37:57.000Z
- Modified: 2026-10-16T17:27:24.847Z
- Also known as: GHSA-p98j-92pf-mc4p
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

DOMPurify from 3.4.13 before 3.4.16 contains a cross-site scripting vulnerability because IN_PLACE mode fails to neutralize subtrees detached by afterSanitizeElements or afterSanitizeAttributes hooks. Attackers can supply markup with on* handlers inside a wrapper removed by such hooks, leaving handlers armed on the live DOM to execute script in the victim origin.

(As written by CVE List.)

## Affected

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

## 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:L/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/cure53/DOMPurify/security/advisories/GHSA-p98j-92pf-mc4p> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/dompurify-from-3.4.13-before-3.4.16-dom-xss-via-in-place-aftersanitize-hooks> (third-party-advisory)
- <https://github.com/cure53/DOMPurify/pull/1636> (web)
- <https://github.com/cure53/DOMPurify/commit/b9b9d80f7e401771c2ccaef5f45def7eec8f27d7> (web)
- <https://github.com/cure53/DOMPurify> (package)
- <https://github.com/cure53/DOMPurify/releases/tag/3.4.16> (web)

## Sources

- CVE List: [CVE-2026-109344](https://www.cve.org/CVERecord?id=CVE-2026-109344), CVE Terms of Use, modified 2026-10-13
- GitHub Advisory Database: [GHSA-p98j-92pf-mc4p](https://github.com/advisories/GHSA-p98j-92pf-mc4p), CC-BY-4.0, modified 2026-10-13
- NVD: [CVE-2026-109344](https://nvd.nist.gov/vuln/detail/CVE-2026-109344), Public domain, modified 2026-10-16

---

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