PT-2025-5352 · Twig+1 · Twig+1
Philetaylor
·
Published
2025-01-29
·
Updated
2025-01-30
·
CVE-2025-24374
CVSS v3.1
4.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Twig versions prior to 3.19.0
Description
The issue concerns the Twig template language for PHP, where output escaping was missing when using the
?? operator, specifically for the expression on the left side of the operator.Recommendations
For versions prior to 3.19.0, update to version 3.19.0 to resolve the issue.
As a temporary workaround, consider avoiding the use of the
?? operator until a patch is available.Exploit
Fix
Special Elements Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Twig