~ / search / GHSA-4rmg-292m-wg3w

GHSA-4rmg-292m-wg3w

Smarty vulnerable to PHP Code Injection by malicious attribute in extends-tag

Source: GitHub Advisory Database (reviewed) High CVE-2024-35226

Packages

EcosystemPackageAffectedFixed in
Packagist smarty/smarty >= 5.0.0, < 5.1.1 5.1.1
Packagist smarty/smarty >= 3.0.0, < 4.5.3 4.5.3

Details

As written in the advisory (Markdown source, shown as plain text).

### Impact Template authors could inject php code by choosing a malicous file name for an extends-tag. Users that cannot fully trust template authors should update asap. ### Patches Please upgrade to the most recent version of Smarty v4 or v5. There is no patch for v3.

References

External links from the advisory. They lead to third-party sites.