Twig fixes a security issue where escaping was missing when using null coalesce operator (??)
Summary
Twig fixes a security issue where escaping was missing when using null coalesce operator (??)
Original description
The description as published by the source.
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: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2025-24374 php-twig
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com