← Back to CVEs
CVE-2024-35226
HIGH7.3
Description
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.
CVE Details
CVSS v3.1 Score7.3
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredLOW
User InteractionREQUIRED
Published5/28/2024
Last Modified11/3/2025
Sourcenvd
Honeypot Sightings0
Weaknesses (CWE)
CWE-94
References
https://github.com/smarty-php/smarty/commit/0be92bc8a6fb83e6e0d883946f7e7c09ba4e857a(security-advisories@github.com)
https://github.com/smarty-php/smarty/security/advisories/GHSA-4rmg-292m-wg3w(security-advisories@github.com)
https://github.com/smarty-php/smarty/commit/0be92bc8a6fb83e6e0d883946f7e7c09ba4e857a(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/smarty-php/smarty/security/advisories/GHSA-4rmg-292m-wg3w(af854a3a-2127-422b-91ae-364da2661108)
https://lists.debian.org/debian-lts-announce/2024/11/msg00013.html(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.