CVE-2023-28447
smarty Cross-site Scripting vulnerability in Javascript escaping
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)
How to fix CVE-2023-28447
To remediate CVE-2023-28447, upgrade the affected package to a fixed version below.
- —upgrade to 3.1.39-2+deb11u2 or later
- —upgrade to 3.1.47-2+deb12u1 or later
- —upgrade to 4.3.0-1+deb12u1 or later
- —upgrade to 4.3.1 or later
Is CVE-2023-28447 being exploited?
Low — EPSS is 1.2%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 3.1.39-2+deb11u2
- from 0, < 3.1.47-2+deb12u1
- from 0, < 4.3.0-1+deb12u1
- >= 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 |