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 5.4/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
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://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 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://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 List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/11/msg00013.html
- https://security.gentoo.org/glsa/202209-09Third Party Advisory
Timeline
- Published
- Sep 15, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified