CVE-2023-28447

HIGH

Smarty < 3.1.48 and >=4.0.0 <4.3.1 - Cross-Site Scripting

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2023-28447. PoCs published by drkbcn.

AI-analyzed exploit summary This repository provides a PrestaShop module to patch CVE-2023-28447, a Smarty JavaScript XSS vulnerability. It includes a module that applies and reverts patches to affected Smarty template files, with detailed instructions and backup functionality.

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

This repository provides a PrestaShop module to patch CVE-2023-28447, a Smarty JavaScript XSS vulnerability. It includes a module that applies and reverts patches to affected Smarty template files, with detailed instructions and backup functionality.

Classification
Writeup 90%
Attack Type
Xss
Complexity
Moderate
Reliability
Reliable
Target: PrestaShop 1.7.X with Smarty template engine
Auth required
Prerequisites: PrestaShop 1.7.X installation · Smarty template engine in use · Administrative access to install the module
devstral-2 · analyzed Feb 19, 2026 Full analysis →

Scores

CVSS v3 7.1
EPSS 0.0116
EPSS Percentile 79.1%
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