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.
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-02-13T16:48:42.664Z

Reserved: 2023-03-15T15:59:10.057Z

Link: CVE-2023-28447

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2023-03-28T21:15:11.127

Modified: 2024-11-21T07:55:05.890

Link: CVE-2023-28447

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.