CVEscure53CVE-2026-109345Published Oct 12, 16:05 · Updated Oct 13, 17:40 UTC
6.1
MediumCVSS 3.1 · from VulnCheck
CVE-2026-109345

DOMPurify before 3.4.16 XSS via IN_PLACE Returned Rawtext Root

DOMPurify · Cross-site scripting · CWE-79
AffectedDOMPurify
FixUpdate to 3.4.16 or newer
PublishedOct 12, 16:05 · VulnCheck
ScoredOct 12 · 6.1 · VulnCheck
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:09 UTC

What we know

No known exploitation. CISA KEV, checked 22:09 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.
Someone has to open, click or run something first. CVSS: user interaction required.

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.

From VulnCheck

Affected and fixed versions

ProductAffectedFixed inDOMPurifybefore 3.4.163.4.16DOMPurifyNot affected3.4.16

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

GitHub Security Advisory (GHSA-6688-9rhm-gjv2) · github.comvendor advisoryVulnCheck Advisory: DOMPurify before 3.4.16 XSS via IN_PLACE Returned Rawtext Root · vulncheck.comthird party advisory

Other CVEs in DOMPurify

All 31 →
6.1DOMPurify from 3.4.4 before 3.4.17 SAFE_FOR_TEMPLATES Bypass via Shadow Root Content · CVE-2026-116804Oct 266.1DOMPurify before 3.4.17 DOM XSS via IN_PLACE Hook-Detached Subtrees · CVE-2026-116803Oct 266.1DOMPurify before 3.4.17 XSS via SMIL attributeName Guard Bypass in XHTML Mode · CVE-2026-116802Oct 26