ADVISORIES

GitHub Advisory Database

GHSA-634x-pc3q-cf4c

PHP Code Injection by malicious block or filename in Smarty

Details

Impact

Template authors could inject php code by choosing a malicous {block} name or {include} file name. Sites that cannot fully trust template authors should update asap.

Patches

Please upgrade to the most recent version of Smarty v3 or v4.

Workarounds

_Is there a way for users to fix or remediate the vulnerability without upgrading?_

References

_Are there any links users can visit to find out more?_

For more information

If you have any questions or comments about this advisory:

Affected packages

EcosystemPackageAffected versions
Packagistsmarty/smarty
All versions before 3.1.45 (fixed in 3.1.45)
Packagistsmarty/smarty
From 4.0.0 before 4.1.1 (fixed in 4.1.1)

References