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)

EPSS: 0.005 (42.2th 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

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.