Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:composer/smarty/smarty@2.6.33
purl pkg:composer/smarty/smarty@2.6.33
Next non-vulnerable version 4.5.3
Latest non-vulnerable version 5.2.0
Risk 4.5
Vulnerabilities affecting this package (9)
Vulnerability Summary Fixed by
VCID-3829-yarc-yqh3
Aliases:
CVE-2023-28447
GHSA-7j98-h7fp-4vwj
smarty Cross-site Scripting vulnerability in Javascript escaping An attacker could exploit this vulnerability to execute arbitrary JavaScript code in the context of the user's browser session. This may lead to unauthorized access to sensitive user data, manipulation of the web application's behavior, or unauthorized actions performed on behalf of the user.
3.1.48
Affected by 1 other vulnerability.
4.3.1
Affected by 1 other vulnerability.
VCID-3nky-rj9a-dyb7
Aliases:
CVE-2012-4437
GHSA-9gqj-ppv2-f2hq
Cross-site scripting (XSS) vulnerability in the SmartyException class in Smarty (aka smarty-php) before 3.1.12 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors that trigger a Smarty exception.
3.1.12
Affected by 13 other vulnerabilities.
VCID-4dmb-dnk6-6qdd
Aliases:
CVE-2022-29221
GHSA-634x-pc3q-cf4c
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.45 and 4.1.1, template authors could inject php code by choosing a malicious {block} name or {include} file name. Sites that cannot fully trust template authors should upgrade to versions 3.1.45 or 4.1.1 to receive a patch for this issue. There are currently no known workarounds.
3.1.45
Affected by 3 other vulnerabilities.
4.1.1
Affected by 3 other vulnerabilities.
VCID-5avg-sw37-g3ff
Aliases:
CVE-2011-1028
GHSA-6frx-2r5w-c524
Improper Input Validation The $smarty.template variable in Smarty3 allows attackers to possibly execute arbitrary PHP code via the sysplugins/smarty_internal_compile_private_special_variable.php file.
3.0.7
Affected by 0 other vulnerabilities.
3.1.11
Affected by 14 other vulnerabilities.
VCID-b4d4-pqtp-wbek
Aliases:
CVE-2009-5054
GHSA-6m9f-8vwq-97pm
Smarty Does Not Consider Umask Values When Setting Permissions Smarty before 3.0.0 beta 4 does not consider the umask value when setting the permissions of files, which might allow attackers to bypass intended access restrictions via standard filesystem operations.
3.0.0-beta4
Affected by 0 other vulnerabilities.
3.1.11
Affected by 14 other vulnerabilities.
VCID-h2k4-cqfq-sbhw
Aliases:
CVE-2018-25047
GHSA-hwq7-5vv9-c6cf
In Smarty before 3.1.47 and 4.x before 4.2.1, libs/plugins/function.mailto.php allows XSS. A web page that uses smarty_function_mailto, and that could be parameterized using GET or POST input parameters, could allow injection of JavaScript code by a user.
3.1.47
Affected by 2 other vulnerabilities.
4.2.1
Affected by 2 other vulnerabilities.
VCID-jhg5-tdyz-uyh4
Aliases:
CVE-2021-21408
GHSA-4h9c-v5vg-5m6m
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.
3.1.43
Affected by 4 other vulnerabilities.
4.0.0-rc.0
Affected by 1 other vulnerability.
4.0.3
Affected by 4 other vulnerabilities.
4.3.3
Affected by 1 other vulnerability.
VCID-mmfc-us8q-xbha
Aliases:
CVE-2021-29454
GHSA-29gp-2c3m-3j6m
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Template authors could run arbitrary PHP code by crafting a malicious math string. If a math string was passed through as user provided data to the math function, external users could run arbitrary PHP code by crafting a malicious math string.
3.1.42
Affected by 5 other vulnerabilities.
4.0.2
Affected by 5 other vulnerabilities.
VCID-qnee-xruu-sfb1
Aliases:
CVE-2023-41661
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Auth. (admin+) Stored Cross-Site Scripting (XSS) vulnerability in PressPage Entertainment Inc. Smarty for WordPress plugin <= 3.1.35 versions.
3.1.36
Affected by 8 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-06T04:10:20.066069+00:00 GitLab Importer Affected by VCID-qnee-xruu-sfb1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/smarty/smarty/CVE-2023-41661.yml 38.6.0
2026-06-06T03:37:40.715612+00:00 GitLab Importer Affected by VCID-3829-yarc-yqh3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/smarty/smarty/CVE-2023-28447.yml 38.6.0
2026-06-06T02:52:09.624252+00:00 GitLab Importer Affected by VCID-h2k4-cqfq-sbhw https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/smarty/smarty/CVE-2018-25047.yml 38.6.0
2026-06-06T02:21:58.895109+00:00 GitLab Importer Affected by VCID-4dmb-dnk6-6qdd https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/smarty/smarty/CVE-2022-29221.yml 38.6.0
2026-06-06T02:07:40.945981+00:00 GitLab Importer Affected by VCID-3nky-rj9a-dyb7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/smarty/smarty/CVE-2012-4437.yml 38.6.0
2026-06-06T01:44:20.331563+00:00 GitLab Importer Affected by VCID-b4d4-pqtp-wbek https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/smarty/smarty/CVE-2009-5054.yml 38.6.0
2026-06-06T01:42:09.758514+00:00 GitLab Importer Affected by VCID-5avg-sw37-g3ff https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/smarty/smarty/CVE-2011-1028.yml 38.6.0
2026-06-06T01:16:58.008849+00:00 GitLab Importer Affected by VCID-jhg5-tdyz-uyh4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/smarty/smarty/CVE-2021-21408.yml 38.6.0
2026-06-06T01:16:51.781704+00:00 GitLab Importer Affected by VCID-mmfc-us8q-xbha https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/smarty/smarty/CVE-2021-29454.yml 38.6.0