~ / search / GHSA-3xg3-cgvq-2xwr

GHSA-3xg3-cgvq-2xwr

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

Source: GitHub Advisory Database (reviewed) Moderate CVE-2025-24374

Packages

EcosystemPackageAffectedFixed in
Packagist twig/twig >= 3.16.0, < 3.19.0 3.19.0

Details

As written in the advisory (Markdown source, shown as plain text).

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

References

External links from the advisory. They lead to third-party sites.