CVE-2025-26791: Node dompurify · DOMPurify before 3.2.4 has an incorrect template literal regular expression
Affects node-dompurifySource GCVE Database
Not known to be exploited · CVSS 6.1 Medium.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 14 Feb 2025
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 before 3.2.4 has an incorrect template literal regular expression, sometimes leading to mutation cross-site scripting (mXSS).
References
- ubuntu.com/security/CVE-2025-26791 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-26791 (opens in a new tab)
- ensy.zip/posts/dompurify-323-bypass/ (opens in a new tab)
- github.com/cure53/DOMPurify/commit/d18ffcb554e0001748865da03ac75dd7829f0f02 (opens in a new tab)
- github.com/cure53/DOMPurify/releases/tag/3.2.4 (opens in a new tab)
- nsysean.github.io/posts/dompurify-323-bypass/ (opens in a new tab)