CVE-2015-7809: High severity twig vulnerability

Published Aug 12, 2015
·
Updated

Remote code execution in templates

Other sources

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.

GitHub

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 Software

3 affected componentsFixes available
composer/twig/twig<1.20.0
composer/twig/twig<1.20.0
1.20.0
Symfony Twig<=1.19.0

Event History

Aug 12, 2015
Advisory Published
03:53 PM
Nov 6, 2015
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2015-7809?

CVE-2015-7809 has a high severity rating due to its potential for remote code execution.

2

How do I fix CVE-2015-7809?

To fix CVE-2015-7809, upgrade Twig to version 1.20.0 or later.

3

What is affected by CVE-2015-7809?

CVE-2015-7809 affects versions of the Twig templating engine prior to 1.20.0 when Sandbox mode is enabled.

4

What impact does CVE-2015-7809 have on applications?

CVE-2015-7809 allows remote attackers to execute arbitrary code within applications that use vulnerable versions of Twig.

5

Is there a workaround for CVE-2015-7809 if upgrading is not possible?

If upgrading is not possible, consider disabling Sandbox mode to mitigate the risk posed by CVE-2015-7809.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203