CVE-2022-29221: Debian Linux
High severity, CVSS 8.8. EPSS: 4.9% chance of exploitation in the next 30 days.
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.
Affected products
- Debian Debian Linux: version 9.0 only; version 10.0 only; version 11.0 only
- Fedoraproject Fedora: version 36 only; version 37 only
- Smarty Smarty: before 3.1.45 (fixed in 3.1.45); from 4.0.0, before 4.1.1 (fixed in 4.1.1)
Published 2022-05-24. Last modified 2026-06-17.