CVE-2018-25047Cross-site Scripting in Smarty

Severity
5.4MEDIUMNVD
EPSS
0.6%
top 29.71%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 15
Latest updateDec 12

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NExploitability: 2.3 | Impact: 2.7

Affected Packages4 packages

NVDsmarty/smarty4.0.04.2.1+1
Packagistsmarty/smarty4.0.04.2.1+1
debiandebian/smarty3< smarty3 3.1.47-1 (bookworm)
debiandebian/smarty4< smarty3 3.1.47-1 (bookworm)

Also affects: Debian Linux 10.0

Patches

🔴Vulnerability Details

4
OSV
smarty3 vulnerabilities2024-12-12
GHSA
Smarty Cross-site Scripting vulnerability in pages that use smarty_function_mailto2022-09-16
OSV
Smarty Cross-site Scripting vulnerability in pages that use smarty_function_mailto2022-09-16
OSV
CVE-2018-25047: In Smarty before 32022-09-15

📋Vendor Advisories

2
Ubuntu
Smarty vulnerabilities2024-12-12
Debian
CVE-2018-25047: smarty3 - In Smarty before 3.1.47 and 4.x before 4.2.1, libs/plugins/function.mailto.php a...2018