CVE-2023-28447

Cross site scripting vulnerability in Javascript escaping in smarty/smarty

Published Mar 28, 2023 CVSS 3.1 · 7.1 High EPSS 1.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3956-1 smarty3 security update
Debian DSA Debian DSA DSA-5826-1 smarty3 security update
EUVD EUVD EUVD-2023-0924 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.
Github GHSA Github GHSA GHSA-7j98-h7fp-4vwj smarty Cross-site Scripting vulnerability in Javascript escaping
Ubuntu USN Ubuntu USN USN-6550-1 PostfixAdmin vulnerabilities
Ubuntu USN Ubuntu USN USN-7158-1 Smarty vulnerabilities
Ubuntu USN Ubuntu USN USN-8242-1 CiviCRM vulnerability
Ubuntu USN Ubuntu USN USN-8242-2 PostfixAdmin vulnerability
Ubuntu USN Ubuntu USN USN-8272-1 Smarty vulnerability
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 3, 2025, 9:47 PM
Reserved
Mar 15, 2023, 3:59 PM
Status
Modified
Published
Mar 28, 2023, 9:15 PM
Modified
Jun 17, 2026, 5:47 AM