CVE-2023-28447
PHP vulnerability analysis and mitigation

Overview

Smarty, a template engine for PHP, was found to contain a cross-site scripting (XSS) vulnerability identified as CVE-2023-28447. The vulnerability was discovered and disclosed on March 28, 2023, affecting versions prior to 3.1.48 and 4.3.1. The issue stems from improper escaping of JavaScript code in the template engine (NVD, GitHub Advisory).

Technical details

The vulnerability is classified as a Cross-site Scripting (CWE-79) issue with a CVSS v3.1 base score of 6.1 (MEDIUM) according to NVD, and 7.1 (HIGH) according to GitHub. The vulnerability vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, indicating that it is network exploitable, requires low attack complexity, needs no privileges, but does require user interaction (NVD).

Impact

When exploited, this vulnerability allows attackers to execute arbitrary JavaScript code in the context of the user's browser session. This can lead to unauthorized access to sensitive user data, manipulation of web application behavior, or unauthorized actions performed on behalf of the user (GitHub Advisory).

Exploitability

The vulnerability requires low attack complexity and no special privileges to exploit, though it does require user interaction. The attack vector is network-accessible, making it potentially exploitable remotely (NVD).

Mitigation and workarounds

Users are advised to upgrade to either version 3.1.48 or 4.3.1 to resolve this issue. There are no known workarounds for this vulnerability. The fix has been implemented in the official releases and distributed through various package managers (GitHub Advisory, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-44741HIGH8.8
  • PHP logoPHP
  • pimcore/admin-ui-classic-bundle
NoYesAug 12, 2026
CVE-2026-47233MEDIUM6.5
  • PHP logoPHP
  • admidio/admidio
NoYesAug 12, 2026
CVE-2026-47132MEDIUM5.4
  • PHP logoPHP
  • thorsten/phpmyfaq
NoYesAug 12, 2026
CVE-2026-47234MEDIUM4.4
  • PHP logoPHP
  • admidio/admidio
NoYesAug 12, 2026
CVE-2026-49262LOW3
  • PHP logoPHP
  • aimeos/pagible
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management