Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2021-21408

Access to restricted PHP code by dynamic static class access in smarty

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

smarty-php smarty

  • < 3.1.43affected
  • >= 4.0.0, < 4.0.3affected

References