Node dompurify: DOMPurify 3.1.3 through 3.2.6 and 2.5.3 through 2.5.8 contain a cross-site scripting vulnerability
Affects node-dompurifySource GCVE Database
Not known to be exploited · CVSS 5.1 Medium · fixed in 3.2.7 : update node-dompurify when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.2.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10node-dompurifypkg:deb/ubuntu/node-dompurify?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSnode-dompurifypkg:deb/ubuntu/node-dompurify?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10node-dompurifypkg:deb/ubuntu/node-dompurify?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSnode-dompurifypkg:deb/ubuntu/node-dompurify?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSnode-dompurifypkg:deb/ubuntu/node-dompurify?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
DOMPurify 3.1.3 through 3.2.6 and 2.5.3 through 2.5.8 contain a cross-site scripting vulnerability that allows attackers to bypass attribute sanitization by exploiting missing textarea rawtext element validation in the SAFE_FOR_XML regex. Attackers can include closing rawtext tags like </textarea> in attribute values to break out of rawtext contexts and execute JavaScript when sanitized output is placed inside rawtext elements. The 3.x branch was fixed in 3.2.7; the 2.x branch was never patched.
References
- ubuntu.com/security/CVE-2025-15599 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-15599 (opens in a new tab)
- github.com/cure53/DOMPurify (opens in a new tab)
- github.com/cure53/DOMPurify/commit/c861f5a83fb8d90800f1680f855fee551161ac2b (opens in a new tab)
- vulncheck.com/advisories/dompurify-xss-via-textarea-rawtext-bypass-in-safe-for-xml (opens in a new tab)