smarty3: In Smarty before 3.1.47 and 4.x before 4.2.1,libs/plugins/function.mailto.php allows XSS
CVE-2018-25047 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2018-25047, released September 15, 2022. It is not reported as exploited. Patch Radar priority: Routine.
In Smarty before 3.1.47 and 4.x before 4.2.1,libs/plugins/function.mailto.php allows XSS. A web page that usessmarty_function_mailto, and that could be parameterized using GET or POSTinput parameters, could allow injection of JavaScript code by a user.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| smarty3 · Debian 11.6 (bullseye) | 3.1.39-2+deb11u2 | DLA-3956-1 | Nov 17, 2024 |
| smarty3 · Debian 12.15 (bookworm) | 3.1.47-1 | DEBIAN-CVE-2018-25047 | Sep 15, 2022 |
| smarty3 · Debian 13.5 (trixie) | 3.1.47-1 | DEBIAN-CVE-2018-25047 | Sep 15, 2022 |
| smarty3 · Debian 14 | 3.1.47-1 | DEBIAN-CVE-2018-25047 | Sep 15, 2022 |
| smarty3 · Ubuntu 18.04.6 LTS (bionic) | 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1 | smarty3 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1 | May 28, 2024 |
| smarty3 · Ubuntu 20.04 LTS (focal) | 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1 | smarty3 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1 | May 28, 2024 |
| smarty3 · Ubuntu 22.04.1 LTS (jammy) | 3.1.39-2ubuntu1.22.04.2 | smarty3 3.1.39-2ubuntu1.22.04.2 | May 28, 2024 |
| smarty3 · Ubuntu 24.04.5 LTS (noble) | 3.1.48-1ubuntu0.24.04.1 | smarty3 3.1.48-1ubuntu0.24.04.1 | May 28, 2024 |
| smarty3 · Ubuntu 24.10 (oracular) | 3.1.48-1ubuntu0.24.10.1 | smarty3 3.1.48-1ubuntu0.24.10.1 | Jan 16, 2026 |
| smarty4 · Debian 12.15 (bookworm) | 4.2.1-1 | DEBIAN-CVE-2018-25047 | Sep 15, 2022 |
| smarty4 · Debian 13.5 (trixie) | 4.2.1-1 | DEBIAN-CVE-2018-25047 | Sep 15, 2022 |
| smarty4 · Debian 14 | 4.2.1-1 | DEBIAN-CVE-2018-25047 | Sep 15, 2022 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.