CVE-2015-7809 symfony twig
symfony twig: no CVSS score yet. EPSS 3.4% estimated probability of exploitation activity in the next 30 days. Fixed in twig/twig 1.20.0.
On this page
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.
- EPSS
- 3.4% (unchanged from 3.4% a week ago; 3.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-264 Permissions, Privileges, and Access Controls
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
twig/twig(Packagist): fixed in 1.20.0- Debian: fixed package versions per release
- Vendor advisory: http://symfony.com/blog/security-release-twig-1-20-0
Ask an AI about this CVE
Show the prompt
Explain CVE-2015-7809 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-7809?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-7809?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-7809 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| symfony:twig | through 1.19.0 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-xw83-pwrm-9j74 | Packagist | twig/twig | <1.20.0 | 1.20.0 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 8 | twig | 1.16.2-1+deb8u1 | DSA-3343-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
References
- http://symfony.com/blog/security-release-twig-1-20-0
- http://openwall.com/lists/oss-security/2015/08/21/3
- http://openwall.com/lists/oss-security/2015/10/11/2
- http://www.debian.org/security/2015/dsa-3343
- https://github.com/fabpot/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f
- https://github.com/twigphp/Twig/pull/1759