RCE in Smarty-php Smarty
CVE-2024-35226
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. In affected versions template authors could inject php code by choosing a malicious file name for an extends-tag. Sites tha…
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.005 (40.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N.
Affected products
- Smarty-php Smarty — versions >= 5.0.0, < 5.1.1, >= 3.0.0, < 4.5.3
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2024-35226?
- CVE-2024-35226 is a high-severity vulnerability in Smarty-php Smarty, classified under Code Injection. CVSS score: 7.3/10. Published 2024-05-28.
- How severe is CVE-2024-35226?
- High severity. CVSS v3 base score is 7.3 out of 10.