CVEvulnerability
CVE-2023-28447
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-03-28
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.1 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
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.
Affected configurations
• smarty smarty (< 3.1.48)
• smarty smarty (>= 4.0.0 < 4.3.1)
• fedoraproject fedora 36
• fedoraproject fedora 37
• fedoraproject fedora 38
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/smarty-php/smarty/commit/685662466f653597428966d75a661073104d713d Patch
- https://github.com/smarty-php/smarty/security/advisories/GHSA-7j98-h7fp-4vwj Third Party Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]/message/HSAUM3YHWHO4UCJXRGRLQGPJAO3MFOZZ/ Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]/message/JBB35GLYTL6JL6EOM6BOZNYP47JKNNHT/ Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]/message/P7O7SKTATM6GAP45S64QFXNLWIY5I7HP/ Mailing List, Third Party Advisory
- https://github.com/smarty-php/smarty/commit/685662466f653597428966d75a661073104d713d Patch
- https://github.com/smarty-php/smarty/security/advisories/GHSA-7j98-h7fp-4vwj Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/11/msg00013.html lists.debian.org
- https://lists.fedoraproject.org/archives/list/[email protected]/message/HSAUM3YHWHO4UCJXRGRLQGPJAO3MFOZZ/ Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]/message/JBB35GLYTL6JL6EOM6BOZNYP47JKNNHT/ Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]/message/P7O7SKTATM6GAP45S64QFXNLWIY5I7HP/ Mailing List, Third Party Advisory