Logo
componentsmarty
Name
smarty
Version
4.1.1
Type
library
Description
-
Licenses
GPL-3.0-only
PURL
-
CPE
cpe:2.3:*:smarty:smarty:4.1.1:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
master
5.8.0
scarthgap
4.4.1

Patches#


#
Title
Author
Resolve
1
Implement fix and tests
Simon Wisselink <s.wisselink@iwink.nl>
CVE-2023-28447
2
Applied appropriate javascript and html escaping in mailto
Simon Wisselink <s.wisselink@iwink.nl>
CVE-2018-25047

Vulnerabilities#


Name
Analysis
Description
Patched
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.
Patched
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.