CVE-2023-28447
HIGH7.1EPSS 1.2%smarty Cross-site Scripting vulnerability in Javascript escaping
Published: 3/29/2023Modified: 11/4/2025
Also known as:GHSA-7j98-h7fp-4vwj
Description
### Impact 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. ### Patches Please upgrade to the most recent version of Smarty v3 or v4. ### For more information If you have any questions or comments about this advisory please open an issue in [the Smarty repo](https://github.com/smarty-php/smarty)
Affected packages (4)
- Debian/smarty3from 0, < 3.1.39-2+deb11u2
- Debian/smarty3from 0, < 3.1.47-2+deb12u1
- Debian/smarty4from 0, < 4.3.0-1+deb12u1
- Packagist/smarty/smarty>= 4.0.0, < 4.3.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
References (10)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-28447
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-28447
- PATCHhttps://github.com/smarty-php/smarty
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2023-28447.yaml
- WEBhttps://github.com/smarty-php/smarty/commit/685662466f653597428966d75a661073104d713d
- WEBhttps://github.com/smarty-php/smarty/security/advisories/GHSA-7j98-h7fp-4vwj
- WEBhttps://lists.debian.org/debian-lts-announce/2024/11/msg00013.html
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/HSAUM3YHWHO4UCJXRGRLQGPJAO3MFOZZ
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/JBB35GLYTL6JL6EOM6BOZNYP47JKNNHT
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/P7O7SKTATM6GAP45S64QFXNLWIY5I7HP