Improper Neutralization of Special Elements Used in a Template Engine
CVE-2025-57811
Summary
Craft is a platform for creating digital experiences. From versions 4.0.0-RC1 through 4.16.4 and 5.0.0-RC1 through 5.8.6, there is a potential Remote Code Execution vulnerability via Twig SSTI (Server-Side Template Injection). This is a follow-up to CVE-2024-52293. This vulnerability has been patched in versions 4.16.5 and 5.8.7.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- HIGH
- HIGH
- HIGH
CWE-1336 - Improper Neutralization of Special Elements Used in a Template Engine
The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.
References
Advisory Timeline
- Published