Access to restricted PHP code by dynamic static class access in smarty
CVE-2021-21408
8.8HIGH
What is 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.
Affected Version(s)
smarty < 3.1.43 < 3.1.43
smarty >= 4.0.0, < 4.0.3 < 4.0.0, 4.0.3