2 matches found
CVE-2026-46633: Improper Control of Generation of Code
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...
9.8CVSS6AI score0.00688EPSS
SaveExploits0References5
PT-2026-42173
Name of the Vulnerable Software and Affected Versions Twig affected versions not specified Description The Compiler::string function fails to escape single quotes when generating PHP double-quoted string literals. In ModuleNode::compileConstructor, template names from a % use % tag are processed...
9.3CVSS6.5AI score0.00688EPSS
SaveExploits0References21
20