Symfony Twig vulnerabilities
24 CVEs affecting Symfony Twig, 0 known to be exploited (CISA KEV), with EPSS scores. Latest: CVE-2026-48808, published 2026-07-14.
More from Symfony.
Highest priority
Known exploited (CISA KEV) first, then by EPSS exploit probability.
- CVE-2018-13818, published 2018-07-10. Critical severity, CVSS 9.8. EPSS: 6.7% probability of exploitation activity in the next 30 days. 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…
- CVE-2022-23614, published 2022-02-04. Critical severity, CVSS 9.8. EPSS: 6.5% probability of exploitation activity in the next 30 days. 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…
- CVE-2022-39261, published 2022-09-28. High severity, CVSS 7.5. EPSS: 3.5% probability of exploitation activity in the next 30 days. 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…
- CVE-2015-7809, published 2015-11-06. Medium severity, CVSS 6.8. EPSS: 3.4% probability of exploitation activity in the next 30 days. 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-2019-9942, published 2019-03-23. Low severity, CVSS 3.7. EPSS: 1.4% probability of exploitation activity in the next 30 days. 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…
- CVE-2001-1537, published 2001-12-31. High severity, CVSS 7.5. EPSS: 1.3% probability of exploitation activity in the next 30 days. 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…
- CVE-2024-45411, published 2024-09-09. High severity, CVSS 8.6. EPSS: 1.2% probability of exploitation activity in the next 30 days. Twig is a template language for PHP. Under some circumstances, the sandbox security checks are not run which allows user-contributed templates to bypass the sandbox restrictions. This vulnerability…
- CVE-2026-46633, published 2026-07-14. Critical severity, CVSS 9.8. EPSS: 0.8% probability of exploitation activity in the next 30 days. Twig is a template language for PHP. Starting in 1.15.1 and prior to 3.26.0, Compiler::string() does not escape single quotes when a template name from a {% use %} tag is placed inside a PHP…
- CVE-2026-24425, published 2026-05-20. Critical severity, CVSS 9.9. EPSS: 0.7% probability of exploitation activity in the next 30 days. Twig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attackers with template rendering capabilities to pass arbitrary…
- CVE-2026-46640, published 2026-07-14. High severity, CVSS 8.8. EPSS: 0.6% probability of exploitation activity in the next 30 days. Twig is a template language for PHP. From 3.15.0 until 3.26.0, _self.(<string>) and import-alias dynamic attribute syntax can concatenate an attacker-controlled string into a MacroReferenceExpression…
Latest
- CVE-2026-48808, published 2026-07-14. High severity, CVSS 7.5. EPSS: 0.4% probability of exploitation activity in the next 30 days. Twig is a template language for PHP. Prior to 3.27.0, the column filter passes the active sandbox state as a boolean but does not forward the current Source to…
- CVE-2026-48807, published 2026-07-14. Critical severity, CVSS 9.1. EPSS: 0.4% probability of exploitation activity in the next 30 days. Twig is a template language for PHP. Prior to 3.27.0, the sandbox __toString() checks do not fully cover Traversable values passed to join and replace filters or operands evaluated by the in and not…
- CVE-2026-48806, published 2026-07-14. Critical severity, CVSS 9.1. EPSS: 0.4% probability of exploitation activity in the next 30 days. Twig is a template language for PHP. Prior to 3.27.0, ArrayExpression does not guard dynamic mapping keys that are coerced to strings, allowing PHP to invoke __toString() on a Stringable object used…
- CVE-2026-48805, published 2026-07-14. Critical severity, CVSS 9.1. EPSS: 0.5% probability of exploitation activity in the next 30 days. Twig is a template language for PHP. Prior to 3.27.0, deprecated internal wrappers in src/Resources/core.php do not forward the current sandbox state to CoreExtension::checkArrow(), arraySome(), and…
- CVE-2026-47732, published 2026-07-14. Medium severity, CVSS 6.5. EPSS: 0.4% probability of exploitation activity in the next 30 days. Twig is a template language for PHP. Prior to 3.26.0, several Twig language constructs trigger PHP string coercion on a Stringable operand without consulting SecurityPolicy::checkMethodAllowed(),…
- CVE-2026-47730, published 2026-07-14. Medium severity, CVSS 5.4. EPSS: 0.3% probability of exploitation activity in the next 30 days. Twig is a template language for PHP. From 3.0.0 until 3.26.0, Twig\Profiler\Dumper\HtmlDumper writes Profile::getTemplate() and Profile::getName() into HTML output without escaping, allowing…
- CVE-2026-46639, published 2026-07-14. Medium severity, CVSS 6.5. EPSS: 0.4% probability of exploitation activity in the next 30 days. Twig is a template language for PHP. From 3.24.0 until 3.26.0, object-destructuring assignment compiles CoreExtension::getAttribute() with the sandbox argument hardcoded to false, disabling property…
- CVE-2026-46638, published 2026-07-14. High severity, CVSS 8.1. EPSS: 0.5% probability of exploitation activity in the next 30 days. Twig is a template language for PHP. Prior to 3.26.0, {% sandbox %}{% include %} can include a template that was previously loaded outside the sandbox without re-invoking checkSecurity(), allowing…
- CVE-2026-46637, published 2026-07-14. Medium severity, CVSS 5.4. EPSS: 0.3% probability of exploitation activity in the next 30 days. Twig is a template language for PHP. Prior to 3.26.0, several filters in twig/markdown-extra and twig/cssinliner-extra are registered with is_safe => [all], causing Twig to treat plain text or HTML…