ADVISORIES

Vulnerability

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.

8 advisories report this vulnerability, across 3 ecosystems.

Advisories in Debian

  • DEBIAN-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…

    CVE-2024-35226 Debian Updated 2 November 2026
  • DLA-3956-1

    smarty3 - security update

    CVE-2018-25047CVE-2023-28447CVE-2024-35226 Debian Updated 20 November 2026
  • DSA-5826-1

    smarty3 - security update

    CVE-2023-28447CVE-2024-35226 Debian Updated 20 November 2026
  • DSA-5830-1

    smarty4 - security update

    CVE-2024-35226 Debian Updated 20 November 2026

References