Twig is a template language for PHP. Prior to 3.26.0, Compiler::string() does not escape single quotes when a template name from a {% use %} tag is placed inside a PHP single-quoted string literal, a…
严重 CVSS 9.8
摘要
Twig is a template language for PHP. Prior to 3.26.0, Compiler::string() does not escape single quotes when a template name from a {% use %} tag is placed inside a PHP single-quoted string literal, allowing a crafted template name to terminate the string and inject arbitrary PHP expressions into the compiled cache file. This issue is fixed in version 3.26.0.
中文摘要建设中,暂以英文摘要呈现(DR-003 v2)。
深度研判 · 自动通道
该漏洞尚未生成深度研判报告(DR-003 v2 AI pipeline 建设中)。
受影响产品
- :
数据来源
- NVD DATABASE
原始链接
- https://github.com/twigphp/Twig/commit/679447fa29083043665482ccf7d64372472621b8 Patch
- https://github.com/twigphp/Twig/commit/e9ff55f6910832428e48a35b2e0748189ad49ae3 Patch
- https://github.com/twigphp/Twig/releases/tag/v3.26.0 Release Notes
- https://github.com/twigphp/Twig/security/advisories/GHSA-7p85-w9px-jpjp Vendor Advisory
时间线
- nvd_ingest NVD