CVE-2018-25047
Last modified
CVE-2018-25047 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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.. EPSS estimates a 0.83% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Smarty | Smarty | < 3.1.47 |
| Smarty | Smarty | >= 4.0.0, < 4.2.1 |
| Debian | Debian Linux | 10.0 |
References
- https://bugs.gentoo.org/870100Issue Tracking, Third Party Advisory
- https://github.com/smarty-php/smarty/issues/454Exploit, Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/01/msg00002.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202209-09Third Party Advisory
- https://bugs.gentoo.org/870100Issue Tracking, Third Party Advisory
- https://github.com/smarty-php/smarty/issues/454Exploit, Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/01/msg00002.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202209-09Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-25047?
How severe is CVE-2018-25047?
How do I fix CVE-2018-25047?
Are you affected by CVE-2018-25047?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
