Cross-site Scripting (XSS) Affecting smarty3 package, versions <3.1.47-2+deb12u1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
1.03% (60th 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 IDSNYK-ECHOLATEST-SMARTY3-18867358
  • published17 Aug 2026
  • disclosed28 Mar 2023

Introduced: 28 Mar 2023

CVE-2023-28447  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Echo:latest smarty3 to version 3.1.47-2+deb12u1 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 Echo. See How to fix? for Echo:latest relevant fixed versions and status.

Smarty is a template engine for PHP. In affected versions smarty did not properly escape javascript code. An attacker could exploit this vulnerability to execute arbitrary JavaScript code in the context of the user's browser session. This may lead to unauthorized access to sensitive user data, manipulation of the web application's behavior, or unauthorized actions performed on behalf of the user. Users are advised to upgrade to either version 3.1.48 or to 4.3.1 to resolve this issue. There are no known workarounds for this vulnerability.

CVSS Base Scores

version 3.1