All reports
High

Twig remote code execution in templates

Affected versions

Composertwig/twig
Affected versions
< 1.20.0
Fixed version
1.20.0

Exploitation

CVE-2015-7809

Probability of exploitation in the next 30 days: 3.40%

FIRST EPSS · 2026-11-21

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.

Links