GHSA-4rmg-292m-wg3wHighCVSS 7.3

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

Published
May 29, 2024
Last Modified
November 4, 2025

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products2

  • composer/smarty/smarty:>= 5.0.0, < 5.1.1
  • composer/smarty/smarty:>= 3.0.0, < 4.5.3

🔗 References (5)