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 Ubuntu

  • UBUNTU-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 Ubuntu Updated 24 November 2026
  • USN-5348-1

    smarty3 vulnerabilities

    CVE-2018-13982CVE-2018-16831CVE-2021-21408CVE-2021-26119 Ubuntu Updated 24 November 2026
  • USN-5348-2

    smarty3 vulnerabilities

    CVE-2021-21408CVE-2021-26119CVE-2021-26120CVE-2021-29454 Ubuntu Updated 24 November 2026
  • USN-5348-3

    smarty3 vulnerabilities

    CVE-2021-21408CVE-2021-26119CVE-2021-26120CVE-2021-29454 Ubuntu Updated 24 November 2026

References