Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.45 and 4.1.1, template authors could inject php code by choosing a malicious {block} name or {include} file name. Sites that cannot fully trust template authors should upgrade to versions 3.1.45 or 4.1.1 to receive a patch for this issue. There are currently no known workarounds.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3033-1 | smarty3 security update |
Debian DSA |
DSA-5151-1 | smarty3 security update |
Github GHSA |
GHSA-634x-pc3q-cf4c | PHP Code Injection by malicious block or filename in Smarty |
Ubuntu USN |
USN-6012-1 | Smarty vulnerability |
Ubuntu USN |
USN-6550-1 | PostfixAdmin vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Thu, 24 Apr 2025 20:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2025-04-23T18:22:54.999Z
Reserved: 2022-04-13T00:00:00.000Z
Link: CVE-2022-29221
Updated: 2024-08-03T06:17:54.199Z
Status : Modified
Published: 2022-05-24T15:15:07.917
Modified: 2024-11-21T06:58:44.963
Link: CVE-2022-29221
No data.
OpenCVE Enrichment
No data.
Debian DLA
Debian DSA
Github GHSA
Ubuntu USN