CVE-2018-25047

5.4 MEDIUM
Published: September 15, 2022 Modified: November 03, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://bugs.gentoo.org/870100
Source: cve@mitre.org
Issue Tracking Third Party Advisory
https://github.com/smarty-php/smarty/issues/454
Source: cve@mitre.org
Exploit Issue Tracking Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html
Source: cve@mitre.org
Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202209-09
Source: cve@mitre.org
Third Party Advisory
https://bugs.gentoo.org/870100
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking Third Party Advisory
https://github.com/smarty-php/smarty/issues/454
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Issue Tracking Patch Third Party Advisory
https://github.com/smarty-php/smarty/releases/tag/v3.1.47
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes
https://github.com/smarty-php/smarty/releases/tag/v4.2.1
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes
https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202209-09
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

13 reference(s) from NVD

Quick Stats

CVSS v3 Score
5.4 / 10.0
EPSS (Exploit Probability)
0.3%
56th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

debian smarty