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 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.
Code Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.3 HIGH
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
GitHub_MCNA
7.3 HIGH
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
CVEADP
---
---
CISA-ADPADP
---
---
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 29%
Debian logo
Debian Releases
Debian Product
Codename
smarty3
bullseye
vulnerable
bullseye (security)
3.1.39-2+deb11u2
fixed
bookworm
3.1.47-2+deb12u1
fixed
bookworm (security)
3.1.47-2+deb12u1
fixed
sid
3.1.48-2
fixed
trixie
3.1.48-2
fixed
smarty4
bookworm
4.3.0-1+deb12u2
fixed
bookworm (security)
4.3.0-1+deb12u2
fixed
sid
4.5.5-1
fixed
trixie
4.5.5-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
smarty3
plucky
needs-triage
oracular
Fixed 3.1.48-1ubuntu0.24.10.1
released
noble
Fixed 3.1.48-1ubuntu0.24.04.1
released
mantic
ignored
jammy
Fixed 3.1.39-2ubuntu1.22.04.2
released
focal
Fixed 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1
released
bionic
Fixed 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1
released
xenial
needs-triage
smarty4
plucky
not-affected
oracular
Fixed 4.3.1-1ubuntu0.24.10.1
released
noble
Fixed 4.3.1-1ubuntu0.24.04.1
released
mantic
ignored
jammy
dne
focal
dne