CVE-2015-7809
PHP packages · 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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 3.398% · score date 2026-11-18. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T12:59:52.673Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:00.377Z | OSV |
| affected | verified | 2026-11-19T12:54:42.854Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:54:42.854Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/twigphp/Twig/pull/1759",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://www.debian.org/security/2015/dsa-3343",
"name": "DSA-3343",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
]
},
{
"url": "http://symfony.com/blog/security-release-twig-1-20-0",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://github.com/fabpot/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://openwall.com/lists/oss-security/2015/10/11/2",
"name": "[oss-security] 20151011 Re: CVE Request: twig remote code execution",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "http://openwall.com/lists/oss-security/2015/08/21/3",
"name": "[oss-security] 20150821 CVE Request: twig remote code execution",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-06T07:58:59.915Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-xw83-pwrm-9j74",
"aliases": [
"CVE-2015-7809"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.20.0"
}
]
}
],
"package": {
"name": "twig/twig",
"purl": "pkg:composer/twig/twig",
"ecosystem": "Packagist"
},
"versions": [
"1.3.0",
"1.4.0",
"1.5.0",
"1.5.1",
"1.6.0",
"1.6.1",
"1.6.2",
"1.6.3",
"1.6.4",
"1.6.5",
"v1.10.0",
"v1.10.1",
"v1.10.2",
"v1.10.3",
"v1.11.0",
"v1.11.1",
"v1.12.0",
"v1.12.0-RC1",
"v1.12.1",
"v1.12.2",
"v1.12.3",
"v1.13.0",
"v1.13.1",
"v1.13.2",
"v1.14.0",
"v1.14.1",
"v1.14.2",
"v1.15.0",
"v1.15.1",
"v1.16.0",
"v1.16.1",
"v1.16.2",
"v1.16.3",
"v1.17.0",
"v1.18.0",
"v1.18.1",
"v1.18.2",
"v1.19.0",
"v1.7.0",
"v1.8.0",
"v1.8.1",
"v1.8.2",
"v1.8.3",
"v1.9.0",
"v1.9.1",
"v1.9.2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-xw83-pwrm-9j74/GHSA-xw83-pwrm-9j74.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2015-7809",
"type": "ADVISORY"
},
{
"url": "https://github.com/twigphp/Twig/pull/1759",
"type": "WEB"
},
{
"url": "https://github.com/twigphp/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f",
"type": "WEB"
},
{
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2015-7809.yaml",
"type": "WEB"
},
{
"url": "https://github.com/twigphp/Twig",
"type": "PACKAGE"
},
{
"url": "https://symfony.com/blog/security-release-twig-1-20-0",
"type": "WEB"
},
{
"url": "http://openwall.com/lists/oss-security/2015/08/21/3",
"type": "WEB"
},
{
"url": "http://openwall.com/lists/oss-security/2015/10/11/2",
"type": "WEB"
},
{
"url": "http://symfony.com/blog/security-release-twig-1-20-0",
"type": "WEB"
},
{
"url": "http://www.debian.org/security/2015/dsa-3343",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-74"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2015-11-06T21:59:00Z",
"github_reviewed_at": "2024-05-30T12:39:43Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Packagist / package | twig/twig | Not a distribution channel | 1.20.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:54:42.854ZArchived source JSON
Source publication: 2015-11-06T21:00:00.000Z
Source modification: 2024-08-06T07:58:59.915ZDocument fingerprint
7aee467d1d86ffbcc2d312194b064040c3bd7154829a49c08c4af7cf7dfcb5f2 - CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:52:00.377ZArchived source JSON
Source publication: 2022-05-14T02:03:50.000Z
Source modification: 2024-05-30T13:26:54.932ZDocument fingerprint
9d87e41124382950f450b202fcbb05735441198a5cd145f7a5b8d54e448b5017 - FIRST EPSSConsulted: 2026-11-19T12:59:52.673ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
7150aadb886a1872804528e41fde65701956707dc44807fb14c34f0398219ad5
Official status history
- UNKNOWN → PUBLISHED · · evidence