Twig remote code execution in templates
High severity
GitHub Reviewed
Published
May 14, 2022
to the GitHub Advisory Database
•
Updated May 30, 2024
Description
Published by the National Vulnerability Database
Nov 6, 2015
Published to the GitHub Advisory Database
May 14, 2022
Reviewed
May 30, 2024
Last updated
May 30, 2024
The
displayBlock
functionTemplate.php
in Sensio Labs Twig before 1.20.0, when Sandbox mode is enabled, allows remote attackers to execute arbitrary code via the_self
variable in a template.References