Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Smarty | Smarty | < 3.1.47 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://bugs.gentoo.org/870100Issue TrackingThird Party Advisory
- https://github.com/smarty-php/smarty/issues/454ExploitIssue TrackingPatch
- https://github.com/smarty-php/smarty/releases/tag/v3.1.47Release Notes
- https://github.com/smarty-php/smarty/releases/tag/v4.2.1Release Notes
- https://lists.debian.org/debian-lts-announce/2023/01/msg00002.htmlMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/202209-09Third Party Advisory
- https://bugs.gentoo.org/870100Issue TrackingThird Party Advisory
- https://github.com/smarty-php/smarty/issues/454ExploitIssue TrackingPatch
- https://github.com/smarty-php/smarty/releases/tag/v3.1.47Release Notes
- https://github.com/smarty-php/smarty/releases/tag/v4.2.1Release Notes
- https://lists.debian.org/debian-lts-announce/2023/01/msg00002.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/11/msg00013.html
- https://security.gentoo.org/glsa/202209-09Third Party Advisory
FAQ
What is CVE-2018-25047?
CVE-2018-25047 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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 paramete...
How severe is CVE-2018-25047?
CVE-2018-25047 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-25047?
Check the references section above for vendor advisories and patch information. Affected products include: Smarty Smarty, Debian Debian Linux.