Vulnerabilities (CVE)

Filtered by vendor Symfony Subscribe
Filtered by product Twig
Total 25 CVE
CVE Vendors Products Updated CVSS v2 CVSS v3
CVE-2022-23614 3 Debian, Fedoraproject, Symfony 3 Debian Linux, Fedora, Twig 2026-06-17 7.5 HIGH 8.8 HIGH
Twig is an open source template language for PHP. When in a sandbox mode, the `arrow` parameter of the `sort` filter must be a closure to avoid attackers being able to run arbitrary PHP functions. In affected versions this constraint was not properly enforced and could lead to code injection of arbitrary PHP code. Patched versions now disallow calling non Closure in the `sort` filter as is the case for some other filters. Users are advised to upgrade.
CVE-2019-9942 2 Debian, Symfony 2 Debian Linux, Twig 2026-06-17 4.3 MEDIUM 3.7 LOW
A sandbox information disclosure exists in Twig before 1.38.0 and 2.x before 2.7.0 because, under some circumstances, it is possible to call the __toString() method on an object even if not allowed by the security policy in place.
CVE-2018-13818 1 Symfony 1 Twig 2026-06-17 7.5 HIGH 9.8 CRITICAL
Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. NOTE: the vendor points out that Twig itself is not a web application and states that it is the responsibility of web applications using Twig to properly wrap input to it
CVE-2015-7809 1 Symfony 1 Twig 2026-06-17 6.8 MEDIUM N/A
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.
CVE-2001-1537 1 Symfony 1 Twig 2026-06-16 5.0 MEDIUM 7.5 HIGH
The default "basic" security setting' in config.php for TWIG webmail 2.7.4 and earlier stores cleartext usernames and passwords in cookies, which could allow attackers to obtain authentication information and gain privileges.