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.
Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.