HIGH
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
Published Nov 6, 2015
8.1
HIGHCVSS 3.1
EPSS 3.40%
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
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
8.1 HIGH GHSA
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
No CVSS v3.0 score for this CVE.
6.8 MEDIUM NVD
AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
3.40% 0.03398
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
EPSS probability 0.03398
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.40% (0.03398) | 88.44th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.40% (0.03398) | 87.24th | v5 (v2026.06.15) |
| Mar 30, 2025 | 2.31% (0.02307) | 83.30th | v4 (v2025.03.14) |
| Mar 29, 2025 | 5.11% (0.05112) | 82.68th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.31% (0.02307) | 83.62th | v4 (v2025.03.14) |
| Dec 12, 2024 | 7.18% (0.07182) | 94.29th | v3 (v2023.03.01) |
| Jul 13, 2024 | 7.18% (0.07182) | 94.08th | v3 (v2023.03.01) |
| Dec 6, 2023 | 7.64% (0.07638) | 93.46th | v3 (v2023.03.01) |
| Mar 7, 2023 | 7.48% (0.07479) | 93.03th | v3 (v2023.03.01) |
| Mar 6, 2023 | 7.78% (0.07777) | 93.24th | v2 (v2022.01.01) |
| Apr 1, 2022 | 7.78% (0.07777) | 92.60th | v2 (v2022.01.01) |
| Feb 4, 2022 | 7.78% (0.07777) | 81.54th | v2 (v2022.01.01) |
References (11)
- http://openwall.com/lists/oss-security/2015/08/21/3 mailing-listx_refsource_MLIST
- http://openwall.com/lists/oss-security/2015/10/11/2 mailing-listx_refsource_MLIST
- http://symfony.com/blog/security-release-twig-1-20-0 x_refsource_CONFIRMVendor Advisory
- http://www.debian.org/security/2015/dsa-3343 vendor-advisoryx_refsource_DEBIAN
- https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2015-7809.yaml
- https://github.com/advisories/GHSA-xw83-pwrm-9j74 Advisory
- https://github.com/fabpot/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f x_refsource_CONFIRM
- https://github.com/twigphp/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f
- https://github.com/twigphp/Twig/pull/1759 x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2015-7809
- https://symfony.com/blog/security-release-twig-1-20-0
| Link | Providers | Tags |
|---|---|---|
| http://openwall.com/lists/oss-security/2015/08/21/3 | mailing-listx_refsource_MLIST | |
| http://openwall.com/lists/oss-security/2015/10/11/2 | mailing-listx_refsource_MLIST | |
| http://symfony.com/blog/security-release-twig-1-20-0 | x_refsource_CONFIRMVendor Advisory | |
| http://www.debian.org/security/2015/dsa-3343 | vendor-advisoryx_refsource_DEBIAN | |
| https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2015-7809.yaml | ||
| https://github.com/advisories/GHSA-xw83-pwrm-9j74 | Advisory | |
| https://github.com/fabpot/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f | x_refsource_CONFIRM | |
| https://github.com/twigphp/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f | ||
| https://github.com/twigphp/Twig/pull/1759 | x_refsource_CONFIRM | |
| https://nvd.nist.gov/vuln/detail/CVE-2015-7809 | ||
| https://symfony.com/blog/security-release-twig-1-20-0 |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Nov 6, 2015
Updated Aug 6, 2024
Reserved Oct 11, 2015
Link CVE-2015-7809
CISA Vulnrichment
GHSA-XW83-PWRM-9J74 Updated n/a