Name | CVE-2025-24374 |
Description | Twig is a template language for PHP. When using the ?? operator, output escaping was missing for the expression on the left side of the operator. This vulnerability is fixed in 3.19.0. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
php-twig (PTS) | bullseye | 2.14.3-1+deb11u2 | vulnerable |
| bullseye (security) | 2.14.3-1+deb11u3 | vulnerable |
| bookworm, bookworm (security) | 3.5.1-1+deb12u1 | vulnerable |
| sid, trixie | 3.19.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
php-twig | source | (unstable) | 3.19.0-1~bootstrap | | | |
twig | source | (unstable) | (unfixed) | | | |
Notes
https://github.com/twigphp/Twig/security/advisories/GHSA-3xg3-cgvq-2xwr
https://github.com/twigphp/Twig/commit/38576b12f05df3cc871bf68f39ccb46b418334a3 (v3.19.0)