All reports
Medium

Smarty Cross-site Scripting vulnerability in pages that use smarty_function_mailto

Affected versions

Version ranges need review.

Affected versions
>= 4.0.0, < 4.2.1
Fixed version
4.2.1
Affected versions
<3.1.47|>=4.0.0,<4.2.1
Fixed version
Not reported
Affected versions
< 3.1.47
Fixed version
3.1.47

Exploitation

CVE-2018-25047

Probability of exploitation in the next 30 days: 1.17%

FIRST EPSS · 2026-11-22

Description

In Smarty before 3.1.47 and 4.x before 4.2.1, libs/plugins/function.mailto.php allows cross-site scripting. 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.

Links