PT-2026-34603

CVE-2026-41239

·

Published

2026-04-20

·

Updated

2026-09-25

Description by

CVSS 2.0
7.1
High
MetricsAV:N/AC:H/Au:N/C:C/I:C/A:N
Name of the Vulnerable Software and Affected Versions DOMPurify versions 1.0.10 through 3.3.x
Description When the SAFE FOR TEMPLATES configuration is enabled, the software is intended to strip {{...}} expressions from untrusted HTML to prevent cross-site scripting (XSS) in template-evaluating frameworks like Vue 2. However, this process fails when using the RETURN DOM or RETURN DOM FRAGMENT options. While the software performs a per-node check and a final string scrub, the RETURN DOM path exits before the final scrub occurs. An attacker can bypass the initial check by splitting template expressions across multiple text nodes using disallowed tags. When the software removes these tags, the remaining text nodes merge into a valid template expression that is then executed by the framework.
Recommendations Update to version 3.4.0. As a temporary workaround, avoid using the RETURN DOM or RETURN DOM FRAGMENT options when SAFE FOR TEMPLATES is enabled.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-CRV5-9VWW-Q3G8
CLEANSTART-2026-BE61221
CLEANSTART-2026-JJ46339
CLEANSTART-2026-LC05413
ECHO-89AA-7E3B-59E1
Found an issue in the description? Have something to add? Feel free to write us 👾