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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-74"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/24xxx/CVE-2025-24374.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "3.16.0"
},
{
"fixed": "3.19.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "38576b12f05df3cc871bf68f39ccb46b418334a3"
}
],
"source": "REFERENCES_COMMIT"
}
]
}