Skip to main content
VulnerabilityPublished Updated

CVE-2026-49458: Dompurify.js · DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG

Affects dompurify.jsSource GCVE Database

0
Compare
Authoritative record:CVE-2026-49458· Medium 6.1

Not known to be exploited · CVSS 6.1 Medium · fixed in 3.4.6 : update dompurify.js when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 35% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.4.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Jul 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 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10node-dompurifypkg:deb/ubuntu/node-dompurify?arch=source&distro=stonkingOther threatsAffected
  • 3.3.3+dfsg-1 – 3.4.13+dfsg-2
6 affected builds
Fixed in–
Ubuntu 26.04 LTSnode-dompurifypkg:deb/ubuntu/node-dompurify?arch=source&distro=resoluteOther threatsAffected
  • =3.1.7+dfsg+~3.0.5-2
  • =3.3.3+dfsg-1
Fixed in–
Ubuntu 24.04 LTSnode-dompurifypkg:deb/ubuntu/node-dompurify?arch=source&distro=nobleOther threatsAffected
  • =2.4.1+dfsg+~2.4.0-1
  • =3.0.9+dfsg+~3.0.5-1
Fixed in–
Ubuntu 22.04 LTSnode-dompurifypkg:deb/ubuntu/node-dompurify?arch=source&distro=jammyOther threatsAffected
  • =2.3.0+dfsg-2
  • =2.3.3+dfsg-1
Fixed in–
Ubuntu 18.04 LTSdompurify.jspkg:deb/ubuntu/dompurify.js?arch=source&distro=bionicOther threatsAffected
  • =0.9.0~dfsg1-1
  • =0.9.0~dfsg1-2
Fixed in–
Ubuntu 16.04 LTSdompurify.jspkg:deb/ubuntu/dompurify.js?arch=source&distro=xenialOther threatsAffected
  • =0.7.3~dfsg1-1
  • =0.7.3~dfsg1-2
Fixed in–

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

Description

DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.6, DOMPurify.sanitize(node, { IN_PLACE: true }) accepted same-origin foreign-realm DOM nodes while follow-on checks used parent-realm constructors, causing instanceof checks for forms, named node maps, document fragments, and elements to fail and skip clobber, template-content, and shadow-DOM sanitization branches so executable markup could survive. This issue is fixed in version 3.4.6.

References

Community reviews

Loading reviews…