{"id":"CVE-2018-25047","state":"PUBLISHED","title":"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","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.","publishedAt":"2022-09-14T00:00:00.000Z","updatedAt":"2025-11-03T21:44:10.223Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/smarty-php/smarty/issues/454","https://github.com/smarty-php/smarty/releases/tag/v4.2.1","https://github.com/smarty-php/smarty/releases/tag/v3.1.47","https://bugs.gentoo.org/870100","https://security.gentoo.org/glsa/202209-09","https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html","https://lists.debian.org/debian-lts-announce/2024/11/msg00013.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:44.295Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/25xxx/CVE-2018-25047.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2018-25047","state":"PUBLISHED","datePublished":"2022-09-14T00:00:00.000Z","dateUpdated":"2025-11-03T21:44:10.223Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2022-09-14T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/smarty-php/smarty/issues/454"},{"url":"https://github.com/smarty-php/smarty/releases/tag/v4.2.1"},{"url":"https://github.com/smarty-php/smarty/releases/tag/v3.1.47"},{"url":"https://bugs.gentoo.org/870100"},{"url":"https://security.gentoo.org/glsa/202209-09","name":"GLSA-202209-09","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html","name":"[debian-lts-announce] 20230105 [SECURITY] [DLA 3262-1] smarty3 security update","tags":["mailing-list"]}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2023-01-05T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/smarty-php/smarty/issues/454","tags":["x_transferred"]},{"url":"https://github.com/smarty-php/smarty/releases/tag/v4.2.1","tags":["x_transferred"]},{"url":"https://github.com/smarty-php/smarty/releases/tag/v3.1.47","tags":["x_transferred"]},{"url":"https://bugs.gentoo.org/870100","tags":["x_transferred"]},{"url":"https://security.gentoo.org/glsa/202209-09","name":"GLSA-202209-09","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html","name":"[debian-lts-announce] 20230105 [SECURITY] [DLA 3262-1] smarty3 security update","tags":["mailing-list","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00013.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T21:44:10.223Z"}}]}}}