CVE-2023-28447

High

Description

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductSmarty
PublishedMar 28, 2023
First seenMar 28, 2023

How to fix

Update
  • smarty smarty3.1.48, 4.3.1 or later
  • smarty/smarty4.3.1, 3.1.48 or later

Affected products

ProductAffected versionsFixed in
smarty smartyv < 3.1.48, 4.0.0 ≤ v < 4.3.13.1.48, 4.3.1
fedoraproject fedora36, 37, 38—
smarty/smartyPackagist4.0.0 ≤ v < 4.3.1, v < 3.1.484.3.1, 3.1.48

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.