DSA-6320-1
Active Unknownphp-twig - security update
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 6 records
Shared by all 6 CVE relationships
Exact relationship value
advisory_listExact field value
DSA/DLA structured-text list| CVE | Publisher evidence |
|---|---|
| CVE-2024-51754 | https://security-tracker.debian.org/tracker/CVE-2024-51754 |
| CVE-2026-46628 | https://security-tracker.debian.org/tracker/CVE-2026-46628 |
| CVE-2026-46629 | https://security-tracker.debian.org/tracker/CVE-2026-46629 |
| CVE-2026-46633 | https://security-tracker.debian.org/tracker/CVE-2026-46633 |
| CVE-2026-46637 | https://security-tracker.debian.org/tracker/CVE-2026-46637 |
| CVE-2026-47730 | https://security-tracker.debian.org/tracker/CVE-2026-47730 |
Description
CVE-2024-51754: 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 argument list (arguments to a function or a filter for instance). This issue has been patched in versions 3.11.2 and 3.14.1. All
Read full publisher description 2243 characters
CVE-2024-51754: 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 argument list (arguments to a function or a filter for instance). This issue has been patched in versions 3.11.2 and 3.14.1. All users are advised to upgrade. There are no known workarounds for this issue. CVE-2026-46628: 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 untrusted input. This issue is fixed in version 3.26.0. CVE-2026-46629: 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, allowing a template to allocate many ICU formatter objects that remain pinned for the lifetime of the Twig\Environment. This issue is fixed in version 3.26.0. CVE-2026-46633: 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, allowing a crafted template name to terminate the string and inject arbitrary PHP expressions into the compiled cache file. This issue is fixed in version 3.26.0. CVE-2026-46637: 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, JavaScript, CSS, URL, and other contexts where the output is not properly escaped. This issue is fixed in version 3.26.0. CVE-2026-47730: 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 or profile names to inject arbitrary HTML when a browser renders the profiler dump. This issue is fixed in version 3.26.0.
No solution guidance was provided.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to this occurrence- Package role
- Source package
- Ecosystem
- Debian:bookworm
- Fixed version
- 3.5.1-1+deb12u3
Affected ranges and events
-
ECOSYSTEM
- Fixed at 3.5.1-1+deb12u3
-
1php-twigSource package
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
7- DSA-6320-1 https://www.debian.org/security/2026/dsa-6320
- CVE-2024-51754 https://security-tracker.debian.org/tracker/CVE-2024-51754
- CVE-2026-46628 https://security-tracker.debian.org/tracker/CVE-2026-46628
- CVE-2026-46629 https://security-tracker.debian.org/tracker/CVE-2026-46629
- CVE-2026-46633 https://security-tracker.debian.org/tracker/CVE-2026-46633
- CVE-2026-46637 https://security-tracker.debian.org/tracker/CVE-2026-46637
- CVE-2026-47730 https://security-tracker.debian.org/tracker/CVE-2026-47730
Provenance
- Schema version
- Unknown
- Parser version
- debian-dsa-dla-tracker/1
- Attribution
- Debian Security Team
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| structured_advisory_list | https://salsa.debian.org/security-tracker-team/security-tracker/-/raw/master/data/DSA/list | Unknown | 113265437d698de5da0bf80ba270390397de1aa127795fe3cc4dd1910a729be4 | debian-dsa-dla-tracker/1 | Unknown |