Back
CVE-2018-25047
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,…
Medium5.4EPSS 1.1%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.1% · top 34% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.4.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistsmarty/smartyGHSA-hwq7-5vv9-c6cf (opens in a new tab)
References (7)
- https://github.com/smarty-php/smarty/issues/454 (opens in a new tab)x_transferred
- https://github.com/smarty-php/smarty/releases/tag/v4.2.1 (opens in a new tab)x_transferred
- https://github.com/smarty-php/smarty/releases/tag/v3.1.47 (opens in a new tab)x_transferred
- https://bugs.gentoo.org/870100 (opens in a new tab)x_transferred
- GLSA-202209-09 (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20230105 [SECURITY] [DLA 3262-1] smarty3 security update (opens in a new tab)mailing-listx_transferred
- https://lists.debian.org/debian-lts-announce/2024/11/msg00013.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hwq7-5vv9-c6cf (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-25047)Record last updated .