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 that cannot fully trust template authors should update asap. All users are advised to update. There is no patch for users on the v3 branch. There are no known workarounds for this vulnerability.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.005 (43.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 43rd percentile — 43.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Smarty-Php Smarty — versions >= 5.0.0, < 5.1.1, >= 3.0.0, < 4.5.3
Weakness classification (CWE)
References
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.