cpe:2.3:a:smarty:smarty:2.6.0:rc1:*:*:*:*:*:*
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.
Max CVSS
7.1
EPSS Score
0.11%
Published
2023-03-28
Updated
2024-02-01
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.
Max CVSS
8.8
EPSS Score
0.30%
Published
2022-05-24
Updated
2022-12-08
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.
Max CVSS
8.8
EPSS Score
0.30%
Published
2022-01-10
Updated
2022-12-08
Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.
Max CVSS
9.8
EPSS Score
1.14%
Published
2021-02-22
Updated
2022-10-14
Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode.
Max CVSS
7.5
EPSS Score
0.16%
Published
2021-02-22
Updated
2022-10-14
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.
Max CVSS
8.8
EPSS Score
0.20%
Published
2022-01-10
Updated
2022-12-08
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.
Max CVSS
5.4
EPSS Score
0.14%
Published
2022-09-15
Updated
2023-03-03
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.
Max CVSS
7.5
EPSS Score
0.34%
Published
2018-09-18
Updated
2021-11-02
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.
Max CVSS
7.5
EPSS Score
6.27%
Published
2014-11-03
Updated
2017-09-08
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.
Max CVSS
4.3
EPSS Score
0.30%
Published
2012-10-01
Updated
2015-11-16
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.
Max CVSS
4.3
EPSS Score
0.20%
Published
2012-08-13
Updated
2012-08-14
Smarty before 3.0.0 beta 7 does not properly handle the <?php and ?> tags, which has unspecified impact and remote attack vectors.
Max CVSS
10.0
EPSS Score
0.19%
Published
2011-02-03
Updated
2011-02-04
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.
Max CVSS
10.0
EPSS Score
0.19%
Published
2011-02-03
Updated
2011-02-04
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.
Max CVSS
10.0
EPSS Score
0.19%
Published
2011-02-03
Updated
2011-02-15
Multiple unspecified vulnerabilities in the parser implementation in Smarty before 3.0.0 RC3 have unknown impact and remote attack vectors.
Max CVSS
10.0
EPSS Score
0.19%
Published
2011-02-03
Updated
2011-02-15
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.
Max CVSS
9.3
EPSS Score
0.18%
Published
2011-02-03
Updated
2011-02-15
Unspecified vulnerability in the fetch plugin in Smarty before 3.0.2 has unknown impact and remote attack vectors.
Max CVSS
10.0
EPSS Score
0.19%
Published
2011-02-03
Updated
2011-02-15
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.
Max CVSS
7.5
EPSS Score
0.18%
Published
2011-02-03
Updated
2011-02-15
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.
Max CVSS
7.5
EPSS Score
0.31%
Published
2011-02-03
Updated
2011-02-15
Multiple unspecified vulnerabilities in Smarty before 3.0.0 beta 6 have unknown impact and attack vectors.
Max CVSS
10.0
EPSS Score
0.19%
Published
2011-02-03
Updated
2011-02-15
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 dollar-sign character.
Max CVSS
7.5
EPSS Score
1.18%
Published
2008-10-31
Updated
2017-08-08
The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 before r2797 allows remote attackers to execute arbitrary PHP code via vectors related to templates and (1) a dollar-sign character, aka "php executed in templates;" and (2) a double quoted literal string, aka a "function injection security hole." NOTE: each vector affects slightly different SVN revisions.
Max CVSS
7.5
EPSS Score
1.24%
Published
2008-10-31
Updated
2017-08-08
The modifier.regex_replace.php plugin in Smarty before 2.6.19, as used by Serendipity (S9Y) and other products, allows attackers to call arbitrary PHP functions via templates, related to a '\0' character in a search string.
Max CVSS
7.5
EPSS Score
1.72%
Published
2008-02-28
Updated
2017-08-08
23 vulnerabilities found
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!