GHSA-4rmg-292m-wg3w

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

At a glance

Published
Updated
CVE
CVE-2024-35226
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

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 packages

PackageVersions
Packagist · smarty/smartyintroduced 5.0.0, fixed 5.1.1
Packagist · smarty/smartyintroduced 3.0.0, fixed 4.5.3

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database