An open index of dependabot pull requests across open source projects.

DOMPurify before 3.4.18 SAFE_FOR_TEMPLATES Bypass Leading to XSS

RSS Feed MEDIUM
CVE-2026-140391 GHSA-qm7q-q8h9-jg8q
Description:

DOMPurify before 3.4.18 contains a SAFE_FOR_TEMPLATES bypass that allows attackers to smuggle template expressions past sanitization using nested form elements or orphaned end tags. When the sanitized output is reparsed via innerHTML, split braces merge into live {{...}} expressions that Vue or AngularJS evaluate, executing attacker JavaScript in victims' browsers.

Affected Packages

No package information available.

Related Dependabot Pull Requests
Advisory Details
Published: December 01, 2026 3 days ago
Updated: December 01, 2026 3 days ago
CVSS Score: 5.1 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Source: Osv
UUID: CVE-2026-140391