CVE-2015-7809

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: 2015-11-06 Last update: 2026-05-06 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2015-7809 is rated Moderate Risk (56/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.04%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2015-7809

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-06-27 2.31% 2.04% -0.27%
2 2025-03-30 5.11% 2.31% -2.80%
3 2025-03-29 5.11%

Full EPSS history (9 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2015-7809

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
8.6 6.4 [email protected]

Weakness enumeration for CVE-2015-7809

GitHub Security Advisory for CVE-2015-7809

GHSA-xw83-pwrm-9j74 · Severity: high · Ecosystem: composer — Twig remote code execution in templates

OS Trackers for CVE-2015-7809

vendor priority summary link
ubuntu medium CVE-2015-7809 medium priority: Ubuntu including 1 source packages (twig), 5 status rows across 5 suites (precise, trusty, upstream, vivid, wily): DNE 2, released 2, not-affected 1. https://ubuntu.com/security/CVE-2015-7809

Affected software / configurations for CVE-2015-7809

Vendor Product Version Raw CPE
symfony twig <= 1.19.0 cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*

References for CVE-2015-7809

cvelogic Threat Intelligence