CVE-2024-35226
Smarty vulnerable to PHP Code Injection by malicious attribute in extends-tag
7.3
HIGH
CVSS 3.1
EPSS 0.28%
Description
### Impact Template authors could inject php code by choosing a malicous file name for an extends-tag. Users that cannot fully trust template authors should update asap. ### Patches Please upgrade to the most recent version of Smarty v4 or v5. There is no patch for v3.
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 |