All vulnerabilities
CVE-2026-109344GHSA-p98j-92pf-mc4p

DOMPurify from 3.4.13 before 3.4.16 DOM XSS via IN_PLACE afterSanitize Hooks

cure53 DOMPurifynpmLibraries & packages
CVSS
5.1Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.19%Chance of exploitation activity in the next 30 days, higher than 8% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in3.4.16Fixed versionCVE List
Published12 Oct 2026Updated 13 Oct 2026CVE List

What fixes it

  • 3.4.16DOMPurifyCVE List
  • 3.4.16dompurify, npmOSVnpm install dompurify@3.4.16

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

DOMPurify from 3.4.13 before 3.4.16 contains a cross-site scripting vulnerability because IN_PLACE mode fails to neutralize subtrees detached by afterSanitizeElements or afterSanitizeAttributes hooks. Attackers can supply markup with on* handlers inside a wrapper removed by such hooks, leaving handlers armed on the live DOM to execute script in the victim origin.

Text from CVE List

Affected versions 3

  • DOMPurifyaffected: 3.4.13 before 3.4.16CVE List
  • DOMPurifyunaffected: 3.4.16CVE List
  • dompurify, npmfrom 3.4.13, fixed in 3.4.16OSV

References 2