VDB
Sign up
CRITICAL9.8

GHSA-3rpf-5rqv-689q

PHP Code Injection by malicious function name in smarty

Quick fix

GHSA-3rpf-5rqv-689q — smarty/smarty: upgrade to the fixed version with the command below.

composer require smarty/smarty:^3.1.39

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/smarty/smarty
Introduced in: 0Fixed in: 3.1.39
Fixcomposer require smarty/smarty:^3.1.39

References