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

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.