{"api_version":"1","generated_at":"2026-04-23T07:55:22+00:00","cve":"CVE-2015-7809","urls":{"html":"https://cve.report/CVE-2015-7809","api":"https://cve.report/api/cve/CVE-2015-7809.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-7809","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-7809"},"summary":{"title":"CVE-2015-7809","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2015-11-06 21:59:00","updated_at":"2018-10-30 16:28:00"},"problem_types":["CWE-264"],"metrics":[],"references":[{"url":"http://symfony.com/blog/security-release-twig-1-20-0","name":"http://symfony.com/blog/security-release-twig-1-20-0","refsource":"CONFIRM","tags":["Vendor Advisory"],"title":"Security Release: Twig 1.20.0 (Symfony Blog)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2015/dsa-3343","name":"DSA-3343","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-3343-1 twig","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://openwall.com/lists/oss-security/2015/10/11/2","name":"[oss-security] 20151011 Re: CVE Request: twig remote code execution","refsource":"MLIST","tags":[],"title":"oss-security - Re: CVE Request: twig remote code execution","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/fabpot/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f","name":"https://github.com/fabpot/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f","refsource":"CONFIRM","tags":[],"title":"fixed sandbox security issue · fabpot/Twig@30be077 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/twigphp/Twig/pull/1759","name":"https://github.com/twigphp/Twig/pull/1759","refsource":"CONFIRM","tags":[],"title":"Some various changes by fabpot · Pull Request #1759 · twigphp/Twig · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://openwall.com/lists/oss-security/2015/08/21/3","name":"[oss-security] 20150821 CVE Request: twig remote code execution","refsource":"MLIST","tags":[],"title":"oss-security - CVE Request: twig remote code execution","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-7809","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-7809","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2015","cve_id":"7809","vulnerable":"1","versionEndIncluding":"1.19.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"symfony","cpe5":"twig","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2015-7809","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/twigphp/Twig/pull/1759","refsource":"CONFIRM","url":"https://github.com/twigphp/Twig/pull/1759"},{"name":"DSA-3343","refsource":"DEBIAN","url":"http://www.debian.org/security/2015/dsa-3343"},{"name":"http://symfony.com/blog/security-release-twig-1-20-0","refsource":"CONFIRM","url":"http://symfony.com/blog/security-release-twig-1-20-0"},{"name":"https://github.com/fabpot/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f","refsource":"CONFIRM","url":"https://github.com/fabpot/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f"},{"name":"[oss-security] 20151011 Re: CVE Request: twig remote code execution","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2015/10/11/2"},{"name":"[oss-security] 20150821 CVE Request: twig remote code execution","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2015/08/21/3"}]}},"nvd":{"publishedDate":"2015-11-06 21:59:00","lastModifiedDate":"2018-10-30 16:28:00","problem_types":["CWE-264"],"metrics":{"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*","versionEndIncluding":"1.19.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2015","CveId":"7809","Ordinal":"84823","Title":"CVE-2015-7809","CVE":"CVE-2015-7809","Year":"2015"},"notes":[{"CveYear":"2015","CveId":"7809","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2015","CveId":"7809","Ordinal":"2","NoteData":"2015-11-06","Type":"Other","Title":"Published"},{"CveYear":"2015","CveId":"7809","Ordinal":"3","NoteData":"2015-11-06","Type":"Other","Title":"Modified"}]}}}