NetSight
critical9.8

CVE-2021-26120

PHP Code Injection by malicious function name in smarty

Impact

Template authors could inject php code by choosing a malicous {function} name. Sites that cannot fully trust template authors should update as soon as possible. Please upgrade to 3.1.39 or higher.

Affected packages

EcosystemPackageAffectedFixed in
composersmarty/smarty< 3.1.393.1.39

Affected products

VendorProductAffected versions
SmartySmarty
before 3.1.39
DebianDebian Linux
Versions 9.0, 10.0, 11.0

Weakness classification

References