What’s Vulnerable › Vulnerabilities
CVE-2015-7809
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2015-11-06 · updated 2026-06-17
- Weakness: CWE-264
Description
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.
Affected products
- twigphp Twig: through 1.19.0
References
- http://openwall.com/lists/oss-security/2015/08/21/3
- http://openwall.com/lists/oss-security/2015/10/11/2
- http://symfony.com/blog/security-release-twig-1-20-0
- http://www.debian.org/security/2015/dsa-3343
- https://github.com/fabpot/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f
- https://github.com/twigphp/Twig/pull/1759
- http://openwall.com/lists/oss-security/2015/08/21/3
- http://openwall.com/lists/oss-security/2015/10/11/2
- http://symfony.com/blog/security-release-twig-1-20-0
- http://www.debian.org/security/2015/dsa-3343
- https://github.com/fabpot/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f
- https://github.com/twigphp/Twig/pull/1759
Get alerted when CVE-2015-7809 or the next vulnerability affects your stack