# CVE-2026-109345: DOMPurify before 3.4.16 XSS via IN_PLACE Returned Rawtext Root

- 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.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-05T23:43:53.000Z
- Modified: 2026-10-16T17:27:24.847Z
- Also known as: GHSA-6688-9rhm-gjv2
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

DOMPurify before 3.4.16 contains a cross-site scripting vulnerability that allows attackers to bypass sanitization because IN_PLACE mode returns a force-removed style element whose text content still carries markup. Attackers can supply a style element containing a closing style tag and an img onerror payload, which executes script when the application serializes and re-parses the returned node.

(As written by CVE List.)

## Affected

- cure53 DOMPurify: before 3.4.16 (not affected: 3.4.16)
- dompurify (npm): 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: rating Low

## References

- <https://github.com/cure53/DOMPurify/security/advisories/GHSA-6688-9rhm-gjv2> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/dompurify-before-3.4.16-xss-via-in-place-returned-rawtext-root> (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-109345](https://www.cve.org/CVERecord?id=CVE-2026-109345), CVE Terms of Use, modified 2026-10-13
- GitHub Advisory Database: [GHSA-6688-9rhm-gjv2](https://github.com/advisories/GHSA-6688-9rhm-gjv2), CC-BY-4.0, modified 2026-10-13
- NVD: [CVE-2026-109345](https://nvd.nist.gov/vuln/detail/CVE-2026-109345), Public domain, modified 2026-10-16

---

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