ADVISORIES

Vulnerability

CVE-2021-21408

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.43 and 4.0.3, template authors could run restricted static php methods. Users should upgrade to version 3.1.43 or 4.0.3 to receive a patch.

8 advisories report this vulnerability, across 3 ecosystems.

Advisories in Debian

  • DEBIAN-CVE-2021-21408

    Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.43 and 4.0.3, template authors could run restricted static php methods. Users…

    CVE-2021-21408 Debian Updated 23 October 2026
  • DLA-2995-1

    smarty3 - security update

    CVE-2021-21408CVE-2021-29454 Debian Updated 20 November 2026
  • DSA-5151-1

    smarty3 - security update

    CVE-2021-21408CVE-2021-29454CVE-2022-29221 Debian Updated 20 November 2026

References