Cross-site Scripting (XSS) Affecting smarty3 package, versions <3.1.47-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.16% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-SMARTY3-3025130
  • published16 Sept 2022
  • disclosed15 Sept 2022

Introduced: 15 Sep 2022

CVE-2018-25047  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:12 smarty3 to version 3.1.47-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream smarty3 package and not the smarty3 package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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 Scores

version 3.1