CVE-2025-24374
Twig fixes a security issue where escaping was missing when using null coalesce operator (??)
Severity Score
4.3
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
0
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
Track
*SSVC
Descriptions
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.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:Track
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2025-01-20 CVE Reserved
- 2025-01-29 CVE Published
- 2025-01-29 CVE Updated
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
CAPEC
References (2)
URL | Tag | Source |
---|---|---|
https://github.com/twigphp/Twig/commit/38576b12f05df3cc871bf68f39ccb46b418334a3 | X_refsource_misc | |
https://github.com/twigphp/Twig/security/advisories/GHSA-3xg3-cgvq-2xwr | X_refsource_confirm |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Twigphp Search vendor "Twigphp" | Twig Search vendor "Twigphp" for product "Twig" | >= 3.16.0 < 3.19.0 Search vendor "Twigphp" for product "Twig" and version " >= 3.16.0 < 3.19.0" | en |
Affected
|