CVE-2015-7809: Symfony Twig
Medium severity, CVSS 6.8. EPSS: 3.4% probability of exploitation activity in the next 30 days.
The displayBlock function Template.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.
What to do
No fixed version is stated in NVD's or the CNA's structured data. The description says "before 1.20.0"; check the vendor's advisory for the release that fixes it.
Affected products
Affected packages
- twig/twig (Packagist)
Published 2015-11-06. Last modified 2026-06-17.