VDB
Sign up
CRITICAL9.8

GHSA-6frx-2r5w-c524

Smarty3 Arbitrary PHP Code Execution

Quick fix

GHSA-6frx-2r5w-c524 — smarty/smarty: upgrade to the fixed version with the command below.

composer require smarty/smarty:^3.0.7

Details

The `$smarty.template` variable in Smarty3 allows attackers to possibly execute arbitrary PHP code via the `sysplugins/smarty_internal_compile_private_special_variable.php` file.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References