Vulnerability in Twigphp Twig
CVE-2025-24374
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 · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (19.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 19th percentile — 19.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Twigphp Twig — versions >= 3.16.0, < 3.19.0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2025-24374?
- CVE-2025-24374 is a medium-severity vulnerability in Twigphp Twig, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 4.3/10. Published 2025-01-29.
- How severe is CVE-2025-24374?
- Medium severity. CVSS v3 base score is 4.3 out of 10.