Security mailing lists by PureSourceCode

CVE-2015-7809

MEDIUM 6.8CVSS 2.0

Twig remote code execution in templates

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
6 Nov 2015
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-264CWE-74
Also known as
GHSA-xw83-pwrm-9j74
Sources
NVDJSONOSV GHSA-xw83-pwrm-9j74JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD symfony twig
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*
<= 1.19.0
OSV Packagist twig/twig < 1.20.0 1.20.0

References

History

  • 25 Nov 2026 20:18 UTC · NVD: first stored (published 6 Nov 2015)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.