CVE-2026-46628
Last modified
CVE-2026-46628 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. Twig is a template language for PHP. Prior to 3.26.0, the deprecated spaceless filter is registered as safe for HTML, causing Twig autoescaping to emit attacker-controlled markup unescaped when spaceless is applied to untrusted input. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
Twig is a template language for PHP. Prior to 3.26.0, the deprecated spaceless filter is registered as safe for HTML, causing Twig autoescaping to emit attacker-controlled markup unescaped when spaceless is applied to untrusted input. This issue is fixed in version 3.26.0.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Symfony | Twig | < 3.26.0 |
References
- https://github.com/twigphp/Twig/releases/tag/v3.26.0Release Notes
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-46628?
How severe is CVE-2026-46628?
How do I fix CVE-2026-46628?
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-46620e107 is a content management system (CMS). Prior to 2.3.5, e…6.5
- CVE-2026-46621Yamcs is a mission control framework. Prior to 5.12.7, the Y…9.1
- CVE-2026-46622SolidInvoice is an open-source invoicing platform. Prior to …8.1
- CVE-2026-46624Twenty is an open source CRM. From 1.7.7 through 1.16.7, a c…9.9
- CVE-2026-46625JavaScript Cookie is a JavaScript API for handling cookies, …7.5
- CVE-2026-46627Twig is a template language for PHP. Prior to 3.26.0, the Tw…6.5
- CVE-2026-46629Twig is a template language for PHP. Prior to 3.26.0, twig/i…6.5
- CVE-2026-4663Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-46633Twig is a template language for PHP. Prior to 3.26.0, Compil…9.8
- CVE-2026-46634Twig is a template language for PHP. From 3.9.0 until 3.26.0…9.8
- CVE-2026-46635Twig is a template language for PHP. Prior to 3.26.0, the co…4.3
- CVE-2026-46637Twig is a template language for PHP. Prior to 3.26.0, severa…5.4
Are you affected by CVE-2026-46628?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
