SB2026080415 - Cross-site scripting in DOMPurify



SB2026080415 - Cross-site scripting in DOMPurify

Published: August 4, 2026

Security Bulletin ID SB2026080415
CSH Severity
Low
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Cross-site scripting (CVE-ID: N/A)

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVSSv4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]


The vulnerability allows a remote user to execute arbitrary JavaScript in the application's origin.

The vulnerability exists due to cross-site scripting in _sanitizeElements() when sanitizing attacker-supplied HTML with IN_PLACE enabled and an element-removal hook detaches the current node. A remote user can supply crafted HTML containing a descendant resource element with an event handler to execute arbitrary JavaScript in the application's origin.

User interaction is required to render the sanitized content, and exploitation requires the non-default IN_PLACE configuration together with a hook that removes a containing element.


Remediation

Install update from vendor's website.