{"id":"CVE-2025-24374","aliases":["GHSA-3xg3-cgvq-2xwr"],"url":"https://o3.security/vulnerability/CVE-2025-24374","summary":"Twig fixes a security issue where escaping was missing when using null coalesce operator (??)","details":"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.","published":"2025-01-29T15:22:34.012Z","modified":"2026-08-12T03:51:37.158531281Z","cvss":{"score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"twig/twig","fixedVersion":"3.19.0"}],"fix":{"url":"https://github.com/twigphp/Twig/commit/38576b12f05df3cc871bf68f39ccb46b418334a3","label":"twigphp/Twig@38576b1"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/24xxx/CVE-2025-24374.json"},{"type":"ADVISORY","url":"https://github.com/twigphp/Twig/security/advisories/GHSA-3xg3-cgvq-2xwr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24374"},{"type":"FIX","url":"https://github.com/twigphp/Twig/commit/38576b12f05df3cc871bf68f39ccb46b418334a3"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:37.158531281Z"}}