CVE-2024-35226
smarty4 - security update
7.3
HIGH
CVSS 3.1
EPSS 0.28%
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.
How to fix CVE-2024-35226
To remediate CVE-2024-35226, upgrade the affected package to a fixed version below.
- —upgrade to 3.1.39-2+deb11u2 or later
- —upgrade to 4.3.0-1+deb12u2 or later
- —upgrade to 4.3.0-1+deb12u2 or later
- —upgrade to 5.1.1 or later
Is CVE-2024-35226 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 3.1.39-2+deb11u2
- from 0, < 4.3.0-1+deb12u2
- from 0, < 4.3.0-1+deb12u2
- >= 5.0.0, < 5.1.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |