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.
References
Link | Resource |
---|---|
https://github.com/smarty-php/smarty/releases/tag/v4.2.1 | Release Notes |
https://github.com/smarty-php/smarty/releases/tag/v3.1.47 | Release Notes |
https://bugs.gentoo.org/870100 | Issue Tracking Third Party Advisory |
https://github.com/smarty-php/smarty/issues/454 | Exploit Issue Tracking Patch Third Party Advisory |
https://security.gentoo.org/glsa/202209-09 | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html | Mailing List Third Party Advisory |
Information
Published : 2022-09-14 17:15
Updated : 2023-03-03 12:00
NVD link : CVE-2018-25047
Mitre link : CVE-2018-25047
JSON object : View
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Products Affected
debian
- debian_linux
smarty
- smarty