Skip to main content
VulnerabilityPublished

CVE-2026-140391: cure53 DOMPurify · Cross-site Scripting

Affects cure53 DOMPurifySource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.1 Medium : upgrade to 3.4.18 when convenient.

Data as of 1 Dec 2026, 15:00 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.05.1
CNA (VulnCheck)CVSS 3.16.1
Patch
Available – fixed in 3.4.18
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 1 Dec 2026.

What to do

Upgrade cure53 DOMPurify to 3.4.18.

Affected software

ProductAffectedFixed in
cure53DOMPurifyAffected
  • <3.4.18
Fixed in
  • 3.4.18
npmDOMPurifypkg:npm/DOMPurifyOther threatsAffected
  • <3.4.18
Fixed in
  • 3.4.18

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade DOMPurify to version 3.4.18 or later, where this vulnerability is fixed. No other mitigations are specified or required once the patch is applied.

Description

DOMPurify versions before 3.4.18 contain a vulnerability that allows attackers to bypass the SAFE_FOR_TEMPLATES sanitization. This bypass enables smuggling of template expressions through nested form elements or orphaned end tags. When the sanitized output is reprocessed via innerHTML, these expressions merge into live template expressions that frameworks like Vue or AngularJS evaluate, resulting in execution of attacker-controlled JavaScript in users' browsers.

References

Community reviews

Loading reviews…