← Back

Smarty

smarty

31 CVEs • 1 product

Products (1)

Click to collapse
Toggle
Smarty
smarty

CVEs (31)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Smarty
1Smarty
Nov 21, 2024
Sep 29, 2023
N/A· v4
4.8 MEDIUM· v3
N/A· v2
Auth. (admin+) Stored Cross-Site Scripting (XSS) vulnerability in PressPage Entertainment Inc. Smarty for WordPress plugin <= 3.1.35 versions.
2Fedoraproject
Smarty
2Fedora
Smarty
Nov 3, 2025
Mar 28, 2023
N/A· v4
6.1 MEDIUM· v3
N/A· v2
Smarty is a template engine for PHP. In affected versions smarty did not properly escape javascript code. An attacker could exploit this vulnerability to execute arbitrary JavaScript code in the context of the user's bro...Show more
Smarty is a template engine for PHP. In affected versions smarty did not properly escape javascript code. 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. Users are advised to upgrade to either version 3.1.48 or to 4.3.1 to resolve this issue. There are no known workarounds for this vulnerability.Show less
2Debian
Smarty
2Debian Linux
Smarty
Nov 3, 2025
Sep 15, 2022
N/A· v4
5.4 MEDIUM· v3
N/A· v2
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 inje...Show more
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.Show less
3Debian
FedoraprojectSmarty
3Debian Linux
FedoraSmarty
Nov 21, 2024
May 24, 2022
N/A· v4
8.8 HIGH· v3
6.5 MEDIUM· v2
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 {bloc...Show more
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.Show less
3Debian
FedoraprojectSmarty
3Debian Linux
FedoraSmarty
Nov 21, 2024
Jan 10, 2022
N/A· v4
8.8 HIGH· v3
6.5 MEDIUM· v2
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.42 and 4.0.2, template authors could run arbitrary PHP code by crafting a maliciou...Show more
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.42 and 4.0.2, 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. Users should upgrade to version 3.1.42 or 4.0.2 to receive a patch.Show less
3Debian
FedoraprojectSmarty
3Debian Linux
FedoraSmarty
Nov 21, 2024
Jan 10, 2022
N/A· v4
8.8 HIGH· v3
6.5 MEDIUM· v2
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.43 and 4.0.3, template authors could run restricted static php methods. Users shou...Show more
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.43 and 4.0.3, template authors could run restricted static php methods. Users should upgrade to version 3.1.43 or 4.0.3 to receive a patch.Show less
2Debian
Smarty
2Debian Linux
Smarty
Nov 21, 2024
Feb 22, 2021
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.
2Debian
Smarty
2Debian Linux
Smarty
Nov 21, 2024
Feb 22, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode.
2Debian
Smarty
2Debian Linux
Smarty
Nov 21, 2024
Nov 20, 2019
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
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.
2Debian
Smarty
2Debian Linux
Smarty
Nov 21, 2024
Sep 18, 2018
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
Smarty_Security::isTrustedResourceDir() in Smarty before 3.1.33 is prone to a path traversal vulnerability due to insufficient template code sanitization. This allows attackers controlling the executed template code to b...Show more
Smarty_Security::isTrustedResourceDir() in Smarty before 3.1.33 is prone to a path traversal vulnerability due to insufficient template code sanitization. This allows attackers controlling the executed template code to bypass the trusted directory security restriction and read arbitrary files.Show less
1Smarty
1Smarty
Nov 21, 2024
Sep 11, 2018
N/A· v4
5.9 MEDIUM· v3
7.1 HIGH· v2
Smarty before 3.1.33-dev-4 allows attackers to bypass the trusted_dir protection mechanism via a file:./../ substring in an include statement.
1Smarty
1Smarty
Nov 21, 2024
Jan 3, 2018
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when calling fetch() or display() functions on custom resources that does not sanitize template name.
1Smarty
1Smarty
May 6, 2026
Nov 3, 2014
N/A· v4
N/A· v3
7.5 HIGH· v2
Smarty before 3.1.21 allows remote attackers to bypass the secure mode restrictions and execute arbitrary PHP code as demonstrated by "{literal}<{/literal}script language=php>" in a template.
1Smarty
1Smarty
Apr 29, 2026
Oct 1, 2012
N/A· v4
N/A· v3
4.3 MEDIUM· v2
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...Show more
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.Show less
1Smarty
1Smarty
Apr 29, 2026
Aug 13, 2012
N/A· v4
N/A· v3
4.3 MEDIUM· v2
Cross-site scripting (XSS) vulnerability in the smarty_function_html_options_optoutput function in distribution/libs/plugins/function.html_options.php in Smarty before 3.1.8 allows remote attackers to inject arbitrary we...Show more
Cross-site scripting (XSS) vulnerability in the smarty_function_html_options_optoutput function in distribution/libs/plugins/function.html_options.php in Smarty before 3.1.8 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.Show less
1Smarty
1Smarty
Apr 29, 2026
Feb 3, 2011
N/A· v4
N/A· v3
10.0 HIGH· v2
Smarty before 3.0.0 beta 7 does not properly handle the <?php and ?> tags, which has unspecified impact and remote attack vectors.
1Smarty
1Smarty
Apr 29, 2026
Feb 3, 2011
N/A· v4
N/A· v3
10.0 HIGH· v2
Unspecified vulnerability in the math plugin in Smarty before 3.0.0 RC1 has unknown impact and remote attack vectors. NOTE: this might overlap CVE-2009-1669.
1Smarty
1Smarty
Apr 29, 2026
Feb 3, 2011
N/A· v4
N/A· v3
10.0 HIGH· v2
Smarty before 3.0.0 RC3 does not properly handle an on value of the asp_tags option in the php.ini file, which has unspecified impact and remote attack vectors.
1Smarty
1Smarty
Apr 29, 2026
Feb 3, 2011
N/A· v4
N/A· v3
10.0 HIGH· v2
Multiple unspecified vulnerabilities in the parser implementation in Smarty before 3.0.0 RC3 have unknown impact and remote attack vectors.
1Smarty
1Smarty
Apr 29, 2026
Feb 3, 2011
N/A· v4
N/A· v3
9.3 HIGH· v2
Smarty before 3.0.0, when security is enabled, does not prevent access to the (1) dynamic and (2) private object members of an assigned object, which has unspecified impact and remote attack vectors.