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)
EPSS: 0.009 (54.7th percentile) — read the EPSS interpretation.
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.
Affected products
- Smarty
- Debian Debian_linux — versions 10.0
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Exploit, Patch, Third Party Advisory, Issue Tracking)
- cve@mitre.org (Release Notes)
- cve@mitre.org (Release Notes)
- cve@mitre.org (Third Party Advisory, Issue Tracking)
- cve@mitre.org (vendor-advisory, Third Party Advisory)
- cve@mitre.org (mailing-list, Mailing List, Third Party Advisory)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2018-25047?
- CVE-2018-25047 is a medium-severity vulnerability in Smarty, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2022-09-15.
- How severe is CVE-2018-25047?
- Medium severity. CVSS v3 base score is 5.4 out of 10.
- Is CVE-2018-25047 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.