Skip to main content
← All vulnerabilities
CVE-2025-24374GHSA-3XG3-CGVQ-2XWR

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.19.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • twigphp Twig

    From 3.16.0 · fixed in 3.19.0

  • twig/twigPackagist

    From 3.16.0 · fixed in 3.19.0

References 2

GitHub · twigphp/Twig