CERT24DOMPurify SAFE_FOR_TEMPLATES bypass — CVE-2026-140391Loading data…

DOMPurify SAFE_FOR_TEMPLATES bypass — CVE-2026-140391

DOMPurify versions before 3.4.18 contain a SAFE_FOR_TEMPLATES bypass that may allow attackers to smuggle template expressions past sanitization. When the sanitized output is reparsed through innerHTML, Vue or AngularJS may evaluate the expressions and execute attacker JavaScript in victims’ browsers.

← Back to intelligence

DOMPurify SAFE_FOR_TEMPLATES bypass — CVE-2026-140391

DOMPurify versions before 3.4.18 contain a SAFE_FOR_TEMPLATES bypass that may allow attackers to smuggle template expressions past sanitization. When the sanitized output is reparsed through innerHTML, Vue or AngularJS may evaluate the expressions and execute attacker JavaScript in victims’ browsers.