Medium severity5.4NVD Advisory· Published Sep 15, 2022· Updated Jun 17, 2026
CVE-2018-25047
CVE-2018-25047
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
smarty/smartyPackagist | < 3.1.47 | 3.1.47 |
smarty/smartyPackagist | >= 4.0.0, < 4.2.1 | 4.2.1 |
Affected products
4Patches
Vulnerability mechanics
References
11- github.com/smarty-php/smarty/issues/454nvdExploitIssue TrackingPatchThird Party AdvisoryWEB
- bugs.gentoo.org/870100nvdIssue TrackingThird Party AdvisoryWEB
- github.com/advisories/GHSA-hwq7-5vv9-c6cfghsaADVISORY
- lists.debian.org/debian-lts-announce/2023/01/msg00002.htmlnvdMailing ListThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2018-25047ghsaADVISORY
- security.gentoo.org/glsa/202209-09nvdThird Party AdvisoryWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2018-25047.yamlghsaWEB
- github.com/smarty-php/smarty/commit/55ea25d1f50f0406fb1ccedd212c527977793fc9ghsaWEB
- github.com/smarty-php/smarty/releases/tag/v3.1.47nvdRelease NotesWEB
- github.com/smarty-php/smarty/releases/tag/v4.2.1nvdRelease NotesWEB
- lists.debian.org/debian-lts-announce/2024/11/msg00013.htmlnvdWEB
News mentions
0No linked articles in our index yet.