ADVISORIES

Vulnerability

CVE-2018-25047

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.

6 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 3Ubuntu 2Packagist 1

Advisories

  • DEBIAN-CVE-2018-25047

    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…

    CVE-2018-25047 Debian Updated 23 October 2026
  • DLA-3262-1

    smarty3 - security update

    CVE-2018-25047 Debian Updated 20 November 2026
  • DLA-3956-1

    smarty3 - security update

    CVE-2018-25047CVE-2023-28447CVE-2024-35226 Debian Updated 20 November 2026
  • GHSA-hwq7-5vv9-c6cf

    Smarty Cross-site Scripting vulnerability in pages that use smarty_function_mailto

    Moderate CVE-2018-25047 Packagist Updated 4 November 2025
  • UBUNTU-CVE-2018-25047

    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…

    CVE-2018-25047 Ubuntu Updated 17 October 2026
  • USN-7158-1

    smarty3 vulnerabilities

    CVE-2018-25047CVE-2023-28447CVE-2024-35226 Ubuntu Updated 27 April 2026

References