{"api_version":"1","generated_at":"2026-04-23T10:40:36+00:00","cve":"CVE-2018-25047","urls":{"html":"https://cve.report/CVE-2018-25047","api":"https://cve.report/api/cve/CVE-2018-25047.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-25047","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-25047"},"summary":{"title":"CVE-2018-25047","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2022-09-15 00:15:00","updated_at":"2023-03-03 20:00:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/smarty-php/smarty/releases/tag/v3.1.47","name":"https://github.com/smarty-php/smarty/releases/tag/v3.1.47","refsource":"MISC","tags":[],"title":"Release v3.1.47 · smarty-php/smarty · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/smarty-php/smarty/issues/454","name":"https://github.com/smarty-php/smarty/issues/454","refsource":"MISC","tags":[],"title":"smarty_function_mailto - JavaScript injection in eval function · Issue #454 · smarty-php/smarty · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.gentoo.org/870100","name":"https://bugs.gentoo.org/870100","refsource":"MISC","tags":[],"title":"870100 – (CVE-2018-25047) <dev-php/smarty-4.2.1: javascript injection in mailto function","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html","name":"[debian-lts-announce] 20230105 [SECURITY] [DLA 3262-1] smarty3 security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3262-1] smarty3 security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202209-09","name":"GLSA-202209-09","refsource":"GENTOO","tags":[],"title":"Smarty: Multiple vulnerabilities (GLSA 202209-09) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/smarty-php/smarty/releases/tag/v4.2.1","name":"https://github.com/smarty-php/smarty/releases/tag/v4.2.1","refsource":"MISC","tags":[],"title":"Release v4.2.1 · smarty-php/smarty · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-25047","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25047","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"25047","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"25047","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"smarty","cpe5":"smarty","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"25047","vulnerable":"1","versionEndIncluding":"4.2.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"smarty","cpe5":"smarty","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2018-25047","qid":"181460","title":"Debian Security Update for smarty3 (DLA 3262-1)"},{"cve":"CVE-2018-25047","qid":"710622","title":"Gentoo Linux Smarty Multiple Vulnerabilities (GLSA 202209-09)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-25047","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/smarty-php/smarty/issues/454","refsource":"MISC","name":"https://github.com/smarty-php/smarty/issues/454"},{"url":"https://github.com/smarty-php/smarty/releases/tag/v4.2.1","refsource":"MISC","name":"https://github.com/smarty-php/smarty/releases/tag/v4.2.1"},{"url":"https://github.com/smarty-php/smarty/releases/tag/v3.1.47","refsource":"MISC","name":"https://github.com/smarty-php/smarty/releases/tag/v3.1.47"},{"url":"https://bugs.gentoo.org/870100","refsource":"MISC","name":"https://bugs.gentoo.org/870100"},{"refsource":"GENTOO","name":"GLSA-202209-09","url":"https://security.gentoo.org/glsa/202209-09"},{"refsource":"MLIST","name":"[debian-lts-announce] 20230105 [SECURITY] [DLA 3262-1] smarty3 security update","url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html"}]}},"nvd":{"publishedDate":"2022-09-15 00:15:00","lastModifiedDate":"2023-03-03 20:00:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.3,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*","versionEndExcluding":"3.1.47","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0.0","versionEndExcluding":"4.2.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}