NetSight
high7.3

CVE-2024-35226

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

Impact

### 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 packages

EcosystemPackageAffectedFixed in
composersmarty/smarty>= 5.0.0, < 5.1.15.1.1

Weakness classification

References