Servers and applications
CVE-2023-28447
Cross site scripting vulnerability in Javascript escaping
- Severity
- Medium 6.1
- Published
- 28 Mar 2023
- Last changed
- 17 Jun 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 3.1.48, 4.3.1
- Also known as
- GHSA-7j98-h7fp-4vwj
- Sources
- NVD, Project advisories (GitHub)
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…
Affected software
| Software | Affected versions |
|---|---|
SmartyServers and applications · cpe:a:smarty:smarty |
|
SmartyServers and applications · github:smarty-php/smarty |
|
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2023-28447
- CVE.org https://www.cve.org/CVERecord?id=CVE-2023-28447
- GitHub Advisory Database https://github.com/advisories/GHSA-7j98-h7fp-4vwj
- github.com https://github.com/smarty-php/smarty/security/advisories/GHSA-7j98-h7fp-4vwj