CVE-2023-28447

7.1 HIGH
Published: March 28, 2023 Modified: November 03, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/smarty-php/smarty/security/advisories/GHSA-7j98-h7fp-4vwj
Source: security-advisories@github.com
Third Party Advisory
https://github.com/smarty-php/smarty/security/advisories/GHSA-7j98-h7fp-4vwj
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

11 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.1 / 10.0
EPSS (Exploit Probability)
0.6%
69th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

smarty fedoraproject