CVE-2023-28447CWE-79

Cross site scripting vulnerability in Javascript escaping in smarty/smarty

High · published March 28, 2023

CVSS v3.1
7.1
EPSS
1%
Percentile
63.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.01016 · 63.0th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2023-03-28T20:07Z
EPSS history
Timeline
  • 28 MAR 20:07Z
    Cross site scripting vulnerability in Javascript escaping in smarty/smarty
    cvelistv5