XSS in Smarty
CVE-2018-25047
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.012, 68.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Smarty
- Debian Linux — versions 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/smarty-php/smarty/issues/454 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- github.com/smarty-php/smarty/releases/tag/v4.2.1 (Release Notes)
- github.com/smarty-php/smarty/releases/tag/v3.1.47 (Release Notes)
- bugs.gentoo.org/870100 (Third Party Advisory, Issue Tracking)
- GLSA-202209-09 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20230105 [SECURITY] [DLA 3262-1] smarty3 security update (mailing-list, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2024/11/msg00013.html