Twig Symfony Twig

Do you want an email whenever new security vulnerabilities are reported in Symfony Twig?

By the Year

In 2024 there have been 0 vulnerabilities in Symfony Twig . Twig did not have any published security vulnerabilities last year.

Year Vulnerabilities Average Score
2024 0 0.00
2023 0 0.00
2022 2 8.65
2021 0 0.00
2020 0 0.00
2019 1 3.70
2018 1 9.80

It may take a day or so for new Twig vulnerabilities to show up in the stats or in the list of recent security vulnerabilties. Additionally vulnerabilities may be tagged under a different product or component name.

Recent Symfony Twig Security Vulnerabilities

Twig is a template language for PHP

CVE-2022-39261 7.5 - High - September 28, 2022

Twig is a template language for PHP. Versions 1.x prior to 1.44.7, 2.x prior to 2.15.3, and 3.x prior to 3.4.3 encounter an issue when the filesystem loader loads templates for which the name is a user input. It is possible to use the `source` or `include` statement to read arbitrary files from outside the templates' directory when using a namespace like `@somewhere/../some.file`. In such a case, validation is bypassed. Versions 1.44.7, 2.15.3, and 3.4.3 contain a fix for validation of such template names. There are no known workarounds aside from upgrading.

Directory traversal

Twig is an open source template language for PHP

CVE-2022-23614 9.8 - Critical - February 04, 2022

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.

Code Injection

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

CVE-2019-9942 3.7 - Low - March 23, 2019

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.

Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter

CVE-2018-13818 9.8 - Critical - July 10, 2018

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

Code Injection

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

CVE-2001-1537 7.5 - High - December 31, 2001

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.

Cleartext Storage of Sensitive Information

Stay on top of Security Vulnerabilities

Want an email whenever new vulnerabilities are published for Symfony Twig or by Symfony? Click the Watch button to subscribe.

Symfony
Vendor

Symfony Twig
Product

subscribe