VDB
Sign up
CRITICAL9.8

GHSA-9m49-vhwv-422g

Smarty PHP code injection

Quick fix

GHSA-9m49-vhwv-422g — smarty/smarty: upgrade to the fixed version with the command below.

composer require smarty/smarty:^3.1.32

Details

Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when calling fetch() or display() functions on custom resources that does not sanitize template name.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/smarty/smarty
Introduced in: 3Fixed in: 3.1.32
Fixcomposer require smarty/smarty:^3.1.32

References