CVE-2021-29454, GHSA-29gp-2c3m-3j6m
packagist/smarty/smarty
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Template authors could run arbitrary PHP code by crafting a malicious math string. If a math string was passed through as user provided data to the math function, external users could run arbitrary PHP code by crafting a malicious math string.
All versions before 3.1.42, all versions starting from 4.0.0 before 4.0.2
Upgrade to versions 3.1.42, 4.0.2 or above.
2022-01-21
source |