Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:composer/smarty/smarty@4.3.3
purl pkg:composer/smarty/smarty@4.3.3
Next non-vulnerable version 4.5.3
Latest non-vulnerable version 5.2.0
Risk 4.0
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-a3yk-8fmf-x7fw
Aliases:
CVE-2024-35226
GHSA-4rmg-292m-wg3w
Smarty vulnerable to PHP Code Injection by malicious attribute in extends-tag 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.
4.5.3
Affected by 0 other vulnerabilities.
5.1.1
Affected by 0 other vulnerabilities.
5.2.0
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (3)
Vulnerability Summary Aliases
VCID-3xs3-13we-6ffu Code Injection Smarty 3 is vulnerable to a PHP code injection when calling `fetch()` or `display()` functions on custom resources that does not sanitize template name. CVE-2017-1000480
GHSA-9m49-vhwv-422g
VCID-jhg5-tdyz-uyh4 Improper Input Validation Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. A vulnerability was found that may allow template authors could run restricted static php methods. CVE-2021-21408
GHSA-4h9c-v5vg-5m6m
VCID-vnb9-5w8q-r3bd Path Traversal Smarty allows attackers to bypass the `trusted_dir` protection mechanism via a `/../` substring in an `include` statement. CVE-2018-16831
GHSA-65j5-vpm7-6xp4