CVE-2026-140391
Last modified
CVE-2026-140391 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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..
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| cure53 | DOMPurify | < 3.4.18 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-140391?
How severe is CVE-2026-140391?
How do I fix CVE-2026-140391?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-140386phpMyFAQ before 4.2.0-RC.2 contains an authorization bypass …4.3
- CVE-2026-140387phpMyFAQ before 4.2.0-RC.2 contains an incorrect authorizati…4.3
- CVE-2026-140388phpMyFAQ before 4.1.12 contains a stored cross-site scriptin…7.7
- CVE-2026-140389phpMyFAQ 4.1.11 does not invalidate a user's previously issu…7.5
- CVE-2026-14039Insufficient policy enforcement in GetUserMedia in Google Ch…4.3
- CVE-2026-140390Admidio 4.1.0 through 5.0.8 contains an authorization flaw i…3.1
- CVE-2026-140392actix-http before 3.21.3 contains an HTTP/1.1 request smuggl…3.7
- CVE-2026-140393actix-http before 3.21.2, the HTTP library underlying Actix …5.3
- CVE-2026-140394Hugo after 0.140.2 and before 0.170.0 contains a stored cros…5.4
- CVE-2026-140395Hugo from 0.56.0 before 0.170.0 contains a path traversal vu…7.5
- CVE-2026-140396Ghost from 1.0.0 before 6.76.0 contains a privilege escalati…5.5
- CVE-2026-140397Ghost from 6.62.0 before 6.72.0 contains an information disc…5.3
Are you affected by CVE-2026-140391?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
