Source: node-dompurify
Version: 3.4.17+dfsg-1
X-Debbugs-CC: [email protected]
Severity: important
Tags: security upstream
Hi,
The following vulnerability was published for node-dompurify.
CVE-2026-140391[0]:
| 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.
If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2026-140391
https://www.cve.org/CVERecord?id=CVE-2026-140391
[1] https://github.com/cure53/DOMPurify/security/advisories/GHSA-qm7q-q8h9-jg8q
Please adjust the affected versions in the BTS as needed.
Regards,
Salvatore