Vulnerabilities · 2023 · Smarty
CVE-2023-28447
Smarty vulnerability
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 products
Smarty, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Smarty runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- lists.fedoraproject.org/archives/list/[email protected]/message/HSA · Third Party Advisory
- lists.fedoraproject.org/archives/list/[email protected]/message/JBB · Third Party Advisory
- lists.fedoraproject.org/archives/list/[email protected]/message/P7O · Third Party Advisory
- github.com/smarty-php/smarty/security/advisories/GHSA-7j98-h7fp-4vwj
- nvd.nist.gov/vuln/detail/CVE-2023-28447
- github.com/smarty-php/smarty/commit/685662466f653597428966d75a661073104d713d
- github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2023-28447.yaml
- lists.debian.org/debian-lts-announce/2024/11/msg00013.html
- nvd.nist.gov/vuln/detail/CVE-2023-28447
- cve.org/CVERecord?id=CVE-2023-28447
More vulnerabilities in Smarty products
CVE-2023-41661CVE-2022-29221CVE-2021-29454CVE-2021-26120CVE-2021-26119CVE-2021-21408CVE-2018-25047CVE-2018-16831All 31
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.