CVE-2025-24374: twigphp twig Injection
CVSS: 4.3v3.1MediumDeferred
AliasesUBUNTU-CVE-2025-24374DEBIAN-CVE-2025-24374
Published 29-01-2025Last modified 29-01-2025
Vulnerability summary
CVE-2025-24374 is a medium (CVSS 4.3) Injection vulnerability in twigphp twig. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 20.2% of scored vulnerabilities.
CVSS score
4.3/10
010
Medium · v3.1 (CVE.org)EPSS score
0.29%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 29-01-2025PublishedVulnerability first disclosed.
- 29-01-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 versionMedium 4.3Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NSourcesAll 4 agree
- OSV · UbuntuEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
20%
Versus all other CVEs
30-day change
0.00 pp
From 0.29% on 20-09-2026
20-09-202620-10-2026
EPSS score0.29%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- php-twigAll versions (No fix recorded) | < 3.19.0-1~bootstrap
Twigphp1 product
- twig≥ 3.16.0, < 3.19.0
Ubuntu1 product
- twigAll versions (No fix recorded)
3 vendors · 3 products