All reports
Medium

Twig security issue where escaping was missing when using null coalesce operator

Affected versions

Composertwig/twig
Affected versions
>= 3.16.0, < 3.19.0
Fixed version
3.19.0

Exploitation

CVE-2025-24374

Probability of exploitation in the next 30 days: 0.30%

FIRST EPSS · 2026-11-18

Description

When using the ?? operator, output escaping was missing for the expression on the left side of the operator.

Links

Credits

  • PhilETaylor
  • fabpot