Smarty
Smarty: vulnerabilidades y CVE
Smarty tiene 35 vulnerabilidades publicadas, 3 de ellas en los últimos 12 meses. 4 son críticas y 0 figuran en el catálogo de explotación activa de CISA.
CVE35
Últimos 12 meses3
Críticas4
Explotadas activamente0
Todas las vulnerabilidades en el catálogo →⭐ Seguir esta tecnología
Últimas vulnerabilidades
| CVE | Severidad | EPSS | Explotación activa | Publicada | Descripción |
|---|---|---|---|---|---|
| CVE-2026-62993 | Media (6.9) | 0.57% | — | 31 ago 2026 | Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to 4.5.7 and 5.8.2, depending on the release line, Smarty's {fetch} handling in… |
| CVE-2026-62996 | Media (6.9) | 0.51% | — | 7 ago 2026 | Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. From 5.0.0 until 5.8.4, Smarty's stream: resource-name handling does not adequately restrict which PHP… |
| CVE-2026-62992 | Media (6.9) | 0.53% | — | 7 ago 2026 | Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to 5.8.2 (and 4.5.7 on the 4.x line), Security::_checkDir() does not fully resolve symbolic links… |
| CVE-2024-35226 | Alta (7.3) | 0.51% | — | 28 may 2024 | Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. In affected versions template authors could inject php code by choosing a malicious file name for an… |
| CVE-2023-41661 | Media (4.8) | 0.42% | — | 29 sept 2023 | Auth. (admin+) Stored Cross-Site Scripting (XSS) vulnerability in PressPage Entertainment Inc. Smarty for WordPress plugin <= 3.1.35 versions. |
| CVE-2023-28447 | Media (6.1) | 1.0% | — | 28 mar 2023 | 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… |
| CVE-2018-25047 | Media (5.4) | 1.1% | — | 15 sept 2022 | 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… |
| CVE-2022-29221 | Alta (8.8) | 4.9% | — | 24 may 2022 | 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… |
| CVE-2021-29454 | Alta (8.8) | 1.9% | — | 10 ene 2022 | 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… |
| CVE-2021-21408 | Alta (8.8) | 2.2% | — | 10 ene 2022 | 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… |
| CVE-2021-26120 | Crítica (9.8) | 82% | — | 22 feb 2021 | Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring. |
| CVE-2021-26119 | Alta (7.5) | 9.4% | — | 22 feb 2021 | Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode. |
| CVE-2011-1028 | Crítica (9.8) | 1.6% | — | 20 nov 2019 | 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. |
| CVE-2018-13982 | Alta (7.5) | 3.5% | — | 18 sept 2018 | 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… |
| CVE-2018-16831 | Media (5.9) | 2.7% | — | 11 sept 2018 | Smarty before 3.1.33-dev-4 allows attackers to bypass the trusted_dir protection mechanism via a file:./../ substring in an include statement. |
| CVE-2017-1000480 | Crítica (9.8) | 3.1% | — | 3 ene 2018 | 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. |
| CVE-2014-8350 | Alta (7.5) | 3.1% | — | 3 nov 2014 | 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. |
| CVE-2012-4437 | Media (4.3) | 2.5% | — | 1 oct 2012 | 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… |
| CVE-2012-4277 | Media (4.3) | 1.2% | — | 13 ago 2012 | 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… |
| CVE-2010-4727 | Alta (10) | 1.9% | — | 3 feb 2011 | Smarty before 3.0.0 beta 7 does not properly handle the <?php and ?> tags, which has unspecified impact and remote attack vectors. |
| CVE-2010-4726 | Alta (10) | 1.9% | — | 3 feb 2011 | 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. |
| CVE-2010-4725 | Alta (10) | 1.9% | — | 3 feb 2011 | 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. |
| CVE-2010-4724 | Alta (10) | 1.9% | — | 3 feb 2011 | Multiple unspecified vulnerabilities in the parser implementation in Smarty before 3.0.0 RC3 have unknown impact and remote attack vectors. |
| CVE-2010-4723 | Alta (9.3) | 1.7% | — | 3 feb 2011 | 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. |
| CVE-2010-4722 | Alta (10) | 1.9% | — | 3 feb 2011 | Unspecified vulnerability in the fetch plugin in Smarty before 3.0.2 has unknown impact and remote attack vectors. |
| CVE-2009-5054 | Alta (7.5) | 1.6% | — | 3 feb 2011 | 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. |
| CVE-2009-5053 | Alta (7.5) | 2.1% | — | 3 feb 2011 | Unspecified vulnerability in Smarty before 3.0.0 beta 6 allows remote attackers to execute arbitrary PHP code by injecting this code into a cache file. |
| CVE-2009-5052 | Alta (10) | 1.9% | — | 3 feb 2011 | Multiple unspecified vulnerabilities in Smarty before 3.0.0 beta 6 have unknown impact and attack vectors. |
| CVE-2009-1669 | Alta (10) | 14% | — | 18 may 2009 | The smarty_function_math function in libs/plugins/function.math.php in Smarty 2.6.22 allows context-dependent attackers to execute arbitrary commands via shell metacharacters in the equation attribute of the math… |
| CVE-2008-4811 | Alta (7.5) | 1.6% | — | 31 oct 2008 | The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 r2797 and earlier allows remote attackers to execute arbitrary PHP code via vectors related to templates and a \ (backslash) before a… |