Skip to content
CVE PROGRAM SOURCE RECORD4.3 Medium

CVE-2025-24374

Twig fixes a security issue where escaping was missing when using null coalesce operator (??)

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

twigphp Twig

  • >= 3.16.0, < 3.19.0affected

References