PHP Code Injection by malicious attribute in extends-tag in Smarty
Summary
PHP Code Injection by malicious attribute in extends-tag in Smarty
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2024-35226 smarty3 Fixed in: 3.1.39-2+deb11u2
- Ubuntu UBUNTU-CVE-2024-35226 smarty3
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web lists.debian.org