CVE-2018-25047
mediumpriority · track · 22EPSS 0.011 · 65 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-hwq7-5vv9-c6cfSmarty Cross-site Scripting vulnerability in pages that use smarty_function_mailto2022-09-16ghsa · osvUS
In Smarty before 3.1.47 and 4.x before 4.2.1, `libs/plugins/function.mailto.php` allows cross-site scripting. 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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (24)
External citations — patches, advisories, analysis.
- https://bugs.gentoo.org/870100cnnvd
- https://cxsecurity.com/cveshow/CVE-2018-25047/cnnvd
- https://github.com/smarty-php/smarty/commit/55ea25d1f50f0406fb1ccedd212c527977793fc9Patchcnnvd
- https://github.com/smarty-php/smarty/issues/454cnnvd
- https://github.com/smarty-php/smarty/releases/tag/v3.1.47cnnvd
- https://github.com/smarty-php/smarty/releases/tag/v4.2.1cnnvd
- https://lists.debian.org/debian-lts-announce/2023/01/msg00002.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2018-25047cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan