Vulnerabilities · 2018 · Smarty
CVE-2018-25047
Smarty vulnerability
In Smarty before 3.1.47 and 4.x before 4.2.1, libs/plugins/function.mailto.php allows XSS. A web page that uses smarty_function_mailto, and that could be parameterized using GET or POST input parameters, could allow injection of JavaScript code by a user.
Affected products
Smarty, Debian Linux. 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.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- nvd.nist.gov/vuln/detail/CVE-2018-25047
- github.com/smarty-php/smarty/issues/454
- bugs.gentoo.org/870100
- github.com/smarty-php/smarty/releases/tag/v3.1.47
- github.com/smarty-php/smarty/releases/tag/v4.2.1
- github.com/smarty-php/smarty/commit/55ea25d1f50f0406fb1ccedd212c527977793fc9
- github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2018-25047.yaml
- security.gentoo.org/glsa/202209-09
- nvd.nist.gov/vuln/detail/CVE-2018-25047
- cve.org/CVERecord?id=CVE-2018-25047
More vulnerabilities in Smarty products
CVE-2023-41661CVE-2023-28447CVE-2022-29221CVE-2021-29454CVE-2021-26120CVE-2021-26119CVE-2021-21408CVE-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.