Symfony
Symfony Twig: vulnerabilidades y CVE
Symfony Twig tiene 27 vulnerabilidades publicadas, 18 de ellas en los últimos 12 meses. 2 son críticas y 0 figuran en el catálogo de explotación activa de CISA.
CVE27
Últimos 12 meses18
Críticas2
Explotadas activamente0
Todas las vulnerabilidades en el catálogo →⭐ Seguir esta tecnología
Últimas vulnerabilidades
| CVE | Severidad | EPSS | Explotación activa | Publicada | Descripción |
|---|---|---|---|---|---|
| CVE-2026-49981 | Media (6) | 0.36% | — | 14 jul 2026 | Twig is a template language for PHP. Prior to 3.27.0, the per-template filter, tag, and function allow-list verdict is computed when a Template instance is constructed and can remain cached after sandbox state changes… |
| CVE-2026-48808 | Media (6) | 0.41% | — | 14 jul 2026 | 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 SandboxExtension::checkPropertyAllowed(), so… |
| CVE-2026-48807 | Alta (7.1) | 0.37% | — | 14 jul 2026 | 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 in operators,… |
| CVE-2026-48806 | Alta (7.1) | 0.42% | — | 14 jul 2026 | 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 as a mapping key… |
| CVE-2026-48805 | Media (5.3) | 0.48% | — | 14 jul 2026 | 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 arrayEvery(),… |
| CVE-2026-47732 | Alta (7.1) | 0.40% | — | 14 jul 2026 | 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(), allowing a sandboxed… |
| CVE-2026-47730 | Media (5.1) | 0.29% | — | 14 jul 2026 | 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 attacker-controlled template… |
| CVE-2026-46640 | Alta (8.7) | 0.64% | — | 14 jul 2026 | 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 name without… |
| CVE-2026-46639 | Alta (7.1) | 0.39% | — | 14 jul 2026 | 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 and method policy… |
| CVE-2026-46638 | Media (6) | 0.47% | — | 14 jul 2026 | 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 the cached template to… |
| CVE-2026-46637 | Media (5.1) | 0.30% | — | 14 jul 2026 | 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 output as safe in… |
| CVE-2026-46635 | Media (5.3) | 0.33% | — | 14 jul 2026 | Twig is a template language for PHP. Prior to 3.26.0, the column filter passes object arrays to PHP array_column(), which reads public and magic properties without reaching CoreExtension::getAttribute() or… |
| CVE-2026-46634 | Alta (7.7) | 0.62% | — | 14 jul 2026 | Twig is a template language for PHP. From 3.9.0 until 3.26.0, template_from_string() compiles an inner template under a synthesized __string_template__<hash> name that can fall outside a SourcePolicyInterface sandbox… |
| CVE-2026-46633 | Alta (8.7) | 0.69% | — | 14 jul 2026 | Twig is a template language for PHP. 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 single-quoted string literal, allowing a crafted… |
| CVE-2026-46629 | Media (5.3) | 0.54% | — | 14 jul 2026 | Twig is a template language for PHP. Prior to 3.26.0, twig/intl-extra memoises IntlDateFormatter and NumberFormatter instances in arrays keyed by template-controlled filter arguments such as locale, pattern, and attrs,… |
| CVE-2026-46628 | Media (5.1) | 0.29% | — | 14 jul 2026 | Twig is a template language for PHP. Prior to 3.26.0, the deprecated spaceless filter is registered as safe for HTML, causing Twig autoescaping to emit attacker-controlled markup unescaped when spaceless is applied to… |
| CVE-2026-46627 | Alta (7.1) | 0.54% | — | 14 jul 2026 | Twig is a template language for PHP. Prior to 3.26.0, the Twig sandbox does not prevent a template from consuming CPU, memory, or wall-clock time, even under the strictest allow-list, allowing untrusted templates to… |
| CVE-2026-24425 | Alta (8.7) | 0.76% | — | 20 may 2026 | 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 PHP callables to sort,… |
| CVE-2024-51755 | Baja (2.2) | 0.43% | — | 6 nov 2024 | Twig is a template language for PHP. In a sandbox, an attacker can access attributes of Array-like objects as they were not checked by the security policy. They are now checked via the property policy and the… |
| CVE-2024-51754 | Baja (2.2) | 0.43% | — | 6 nov 2024 | Twig is a template language for PHP. In a sandbox, an attacker can call `__toString()` on an object even if the `__toString()` method is not allowed by the security policy when the object is part of an array or an… |
| CVE-2024-45411 | Alta (8.6) | 0.85% | — | 9 sept 2024 | 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 is fixed in 1.44.8,… |
| CVE-2022-39261 | Alta (7.5) | 3.2% | — | 28 sept 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… |
| CVE-2022-23614 | Crítica (9.8) | 8.2% | — | 4 feb 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… |
| CVE-2019-9942 | Baja (3.7) | 1.4% | — | 23 mar 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… |
| CVE-2018-13818 | Crítica (9.8) | 6.9% | — | 10 jul 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… |
| CVE-2015-7809 | Media (6.8) | 3.4% | — | 6 nov 2015 | 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 | Alta (7.5) | 1.1% | — | 31 dic 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… |