All reports
Critical

PHP Code Injection by malicious function name in smarty

Affected versions

Affected versions
< 3.1.39
Fixed version
3.1.39

Exploitation

CVE-2021-26120

Probability of exploitation in the next 30 days: 82.32%

FIRST EPSS · 2026-11-20

Description

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.

Links

Credits

  • stevenseeley