{"id":"CVE-2018-25047","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-25047","generatedAt":"2026-10-29T00:37:23.219Z","title":"In Smarty before 3.1.47 and 4.x before 4.2.1, libs/plugins/function.mailto.php allows XSS.","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.","published":"2022-09-15T00:15:10.000Z","lastModified":"2026-06-17T01:54:36.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"cwe":["CWE-79"],"affected":["smarty/smarty","debian/debian linux"],"epss":{"score":0.011,"percentile":0.65493,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (1.10%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://bugs.gentoo.org/870100","tags":["Issue Tracking","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/smarty-php/smarty/issues/454","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/smarty-php/smarty/releases/tag/v3.1.47","tags":["Release Notes"],"source":"cve@mitre.org"},{"url":"https://github.com/smarty-php/smarty/releases/tag/v4.2.1","tags":["Release Notes"],"source":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://security.gentoo.org/glsa/202209-09","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://bugs.gentoo.org/870100","tags":["Issue Tracking","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/smarty-php/smarty/issues/454","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/smarty-php/smarty/releases/tag/v3.1.47","tags":["Release Notes"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/smarty-php/smarty/releases/tag/v4.2.1","tags":["Release Notes"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00013.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202209-09","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-25047","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}