MEDIUM
In Smarty before 3.1.47 and 4.x before 4.2.1, libs/plugins/function.mailto.php allows XSS
Published Sep 14, 2022
5.4
MEDIUMCVSS 3.1
EPSS 1.09%
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.
Affected products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
5.4 MEDIUM NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction Required
Scope Changed
Confidentiality Impact Low
Integrity Impact Low
Availability Impact None
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
1.09% 0.01092
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
EPSS probability 0.01092
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.09% (0.01092) | 64.18th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.80% (0.00802) | 51.69th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.63% (0.00632) | 68.58th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.17% (0.00171) | 55.46th | v3 (v2023.03.01) |
| Apr 21, 2024 | 0.17% (0.00171) | 53.63th | v3 (v2023.03.01) |
| Apr 6, 2024 | 0.14% (0.00138) | 48.71th | v3 (v2023.03.01) |
| Jan 2, 2024 | 0.12% (0.00122) | 46.44th | v3 (v2023.03.01) |
| Dec 20, 2023 | 0.16% (0.00159) | 52.42th | v3 (v2023.03.01) |
| Oct 4, 2023 | 0.15% (0.00152) | 50.94th | v3 (v2023.03.01) |
| Sep 21, 2023 | 0.11% (0.00113) | 44.24th | v3 (v2023.03.01) |
| Aug 15, 2023 | 0.07% (0.00070) | 29.09th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.06% (0.00058) | 22.52th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.03% (0.01034) | 41.69th | v2 (v2022.01.01) |
| Jan 6, 2023 | 1.03% (0.01034) | 40.76th | v2 (v2022.01.01) |
| Sep 15, 2022 | 0.95% (0.00950) | 30.67th | v2 (v2022.01.01) |
Weaknesses (1)
References (11)
- https://bugs.gentoo.org/870100 Issue TrackingThird Party Advisory
- https://github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2018-25047.yaml
- https://github.com/advisories/GHSA-hwq7-5vv9-c6cf Advisory
- https://github.com/smarty-php/smarty/commit/55ea25d1f50f0406fb1ccedd212c527977793fc9
- https://github.com/smarty-php/smarty/issues/454 ExploitIssue TrackingPatchThird Party Advisory
- https://github.com/smarty-php/smarty/releases/tag/v3.1.47 Release Notes
- https://github.com/smarty-php/smarty/releases/tag/v4.2.1 Release Notes
- https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html mailing-listMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/11/msg00013.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-25047
- https://security.gentoo.org/glsa/202209-09 vendor-advisoryThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://bugs.gentoo.org/870100 | Issue TrackingThird Party Advisory | |
| https://github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2018-25047.yaml | ||
| https://github.com/advisories/GHSA-hwq7-5vv9-c6cf | Advisory | |
| https://github.com/smarty-php/smarty/commit/55ea25d1f50f0406fb1ccedd212c527977793fc9 | ||
| https://github.com/smarty-php/smarty/issues/454 | ExploitIssue TrackingPatchThird Party Advisory | |
| https://github.com/smarty-php/smarty/releases/tag/v3.1.47 | Release Notes | |
| https://github.com/smarty-php/smarty/releases/tag/v4.2.1 | Release Notes | |
| https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html | mailing-listMailing ListThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2024/11/msg00013.html | ||
| https://nvd.nist.gov/vuln/detail/CVE-2018-25047 | ||
| https://security.gentoo.org/glsa/202209-09 | vendor-advisoryThird Party Advisory |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Sep 14, 2022
Updated Nov 3, 2025
Reserved Sep 14, 2022
Link CVE-2018-25047
CISA Vulnrichment
GHSA-HWQ7-5VV9-C6CF Updated n/a