CVE-2018-25047

Severity CVSS v4.0:
Pending analysis
Type:
CWE-79 Cross-Site Scripting (XSS)
Publication date:
15/09/2022
Last modified:
03/11/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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* 3.1.47 (excluding)
cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* 4.0.0 (including) 4.2.1 (excluding)
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*