CVE-2023-28447

HIGH

Smarty <3.1.47-4.2.30 - XSS

Title source: llm

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.

Exploits (1)

nomisec WRITEUP 2 stars
by drkbcn · poc
https://github.com/drkbcn/lblfixer_cve_2023_28447

Scores

CVSS v3 7.1
EPSS 0.0074
EPSS Percentile 73.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Details

CWE
CWE-79
Status published
Products (5)
fedoraproject/fedora 36
fedoraproject/fedora 37
fedoraproject/fedora 38
smarty/smarty < 3.1.48
smarty/smarty 4.0.0 - 4.3.1Packagist
Published Mar 28, 2023
Tracked Since Feb 18, 2026