CyberRota Analysis
AI-GeneratedThe Twig template language for PHP versions 3.9.0 through 3.26.0 is vulnerable due to a flaw in the template_from_string() function, which can bypass security policy enforcement in sandboxed environments. This allows potentially malicious inner templates to be rendered without proper restrictions, posing a critical security risk. Developers and organizations using affected versions should prioritize updating to version 3.26.0 or later to mitigate this vulnerability.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Twig is a template language for PHP. From 3.9.0 until 3.26.0, template_from_string() compiles an inner template under a synthesized __string_template__<hash> name that can fall outside a SourcePolicyInterface sandbox decision, allowing a sandboxed template that can call template_from_string and include to render an inner template without security policy enforcement. This issue is fixed in version 3.26.0.
Related CVEs
Other vulnerabilities affecting the same vendor(s)