Twig
Последняя версия
3.31.1
Открытая поддержка до
нет данных
Уязвимости
24
Лицензия
—
Поставка в РФ
неприменимо
Реестр ПО
не проверялось
| Версия | Дата публикации | Откуда |
|---|---|---|
| 3 | 2019-11-15 | endoflife.date |
| 2 | 2017-01-05 | endoflife.date |
| 1 | 2011-03-27 | endoflife.date |
| Цикл | Вышел | Открытая поддержка до | Расширенная до | Последняя версия | Поддерживается |
|---|---|---|---|---|---|
| 3 | 2019-11-15 | — | — | 3.31.1 | да |
Всего 24 (критические 6, высокие 8, средние 9, низкие 1).
| Уязвимость | Серьёзность | CVSS | Исправлено в | Опубликов. | Описание |
|---|---|---|---|---|---|
| CVE-2018-13818 | критические | 9.8 | — | 2018-07-10 | 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 ap |
| CVE-2026-46633 | критические | 9.8 | — | 2026-07-14 | 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 single-quoted string literal, |
| CVE-2026-46634 | критические | 9.8 | — | 2026-07-14 | 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 dec |
| CVE-2026-48805 | критические | 9.1 | — | 2026-07-14 | 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(), allowin |
| CVE-2026-48806 | критические | 9.1 | — | 2026-07-14 | 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 with |
| CVE-2026-48807 | критические | 9.1 | — | 2026-07-14 | 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, allowin |
| CVE-2022-23614 | высокие | 8.8 | — | 2022-02-04 | 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 th |
| CVE-2026-24425 | высокие | 8.8 | — | 2026-05-20 | 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-2026-46640 | высокие | 8.8 | — | 2026-07-14 | 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 identif |
| CVE-2024-45411 | высокие | 8.5 | — | 2024-09-09 | 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, 2. |
| CVE-2026-46638 | высокие | 8.1 | — | 2026-07-14 | 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-2001-1537 | высокие | 7.5 | — | 2001-12-31 | 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 privil |
| CVE-2022-39261 | высокие | 7.5 | — | 2022-09-28 | 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 possi |
| CVE-2026-48808 | высокие | 7.5 | — | 2026-07-14 | 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 SourcePolicyInt |
| CVE-2015-7809 | средние | 6.8 | — | 2015-11-06 | 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-2026-46627 | средние | 6.5 | — | 2026-07-14 | 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 caus |
| CVE-2026-46629 | средние | 6.5 | — | 2026-07-14 | 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, a |
| CVE-2026-46639 | средние | 6.5 | — | 2026-07-14 | 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 che |
| CVE-2026-47732 | средние | 6.5 | — | 2026-07-14 | 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 tem |
| CVE-2026-46628 | средние | 5.4 | — | 2026-07-14 | 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 un |
| CVE-2026-46637 | средние | 5.4 | — | 2026-07-14 | 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 HTML |
| CVE-2026-47730 | средние | 5.4 | — | 2026-07-14 | 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-46635 | средние | 4.3 | — | 2026-07-14 | 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 SandboxExtensi |
| CVE-2019-9942 | низкие | 3.7 | — | 2019-03-23 | 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 |
Ни один источник лицензию не указал.
Нет данных.
- Циклы поддержки на endoflife.date
- https://endoflife.date/twig
не проверялось: куратор не искал запись и не отметил, что её нет
| Поле | Значение |
|---|---|
| Пакеты | pkg:composer/twig/twig, pkg:github/twigphp/Twig |
| endoflife.date | twig |
| CPE | cpe:2.3:a:symfony:twig |
| Идентификаторы подтверждены | да |