All vulnerabilities
CVE-2026-109345GHSA-6688-9rhm-gjv2

DOMPurify before 3.4.16 XSS via IN_PLACE Returned Rawtext Root

cure53 DOMPurifynpmLibraries & packages
CVSS
5.1Medium
ExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 13 Oct 2026. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)0.20%Chance of exploitation activity in the next 30 days, higher than 9% 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 before 3.4.16 contains a cross-site scripting vulnerability that allows attackers to bypass sanitization because IN_PLACE mode returns a force-removed style element whose text content still carries markup. Attackers can supply a style element containing a closing style tag and an img onerror payload, which executes script when the application serializes and re-parses the returned node.

Text from CVE List

Affected versions 3

  • DOMPurifyaffected: all versions before 3.4.16CVE List
  • DOMPurifyunaffected: 3.4.16CVE List
  • dompurify, npmfrom first release, fixed in 3.4.16OSV

References 2