{"id":"CVE-2025-24374","published":"2025-01-29T15:22:34Z","modified":"2025-01-29T15:44:49Z","title":"Twig fixes a security issue where escaping was missing when using null coalesce operator (??)","vendor":"twigphp","product":"Twig","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00298,"percentile":0.22986,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-3xg3-cgvq-2xwr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/twigphp/Twig/commit/38576b12f05df3cc871bf68f39ccb46b418334a3","tags":["x_refsource_MISC"]}],"priority":{"score":7.6,"factors":[{"name":"EPSS percentile","points":4.6},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"twigphp","affectedVersions":[{"vendor":"twigphp","product":"Twig","versions":[">= 3.16.0, < 3.19.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-29T15:44:45.378845Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"twig/twig","vulnerableRanges":[">=3.16.0, <3.19.0"],"patched":["3.19.0"],"from":["GHSA-3xg3-cgvq-2xwr"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-0128","exploited":false,"provenance":"source"}}