CVE-2018-25047
MEDIUM5.4EPSS 0.63%smarty3 - security update
Published: 9/16/2022Modified: 3/9/2026
Also known as:GHSA-hwq7-5vv9-c6cfDEBIAN-CVE-2018-25047DEBIAN-CVE-2023-28447DEBIAN-CVE-2024-35226DLA-3956-1
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.
Affected packages (5)
- Debian/smarty3from 0, < 3.1.39-2+deb11u2
- Debian/smarty3from 0, < 3.1.33+20180830.1.3a78a21f+selfpack1-1+deb10u2
- Debian/smarty3from 0, < 3.1.39-2+deb11u2
- Debian/smarty4from 0, < 4.2.1-1
- Packagist/smarty/smartyfrom 0, < 3.1.47
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
References (12)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-25047
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2018-25047
- PATCHhttps://github.com/smarty-php/smarty
- WEBhttps://bugs.gentoo.org/870100
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2018-25047.yaml
- WEBhttps://github.com/smarty-php/smarty/commit/55ea25d1f50f0406fb1ccedd212c527977793fc9
- WEBhttps://github.com/smarty-php/smarty/issues/454
- WEBhttps://github.com/smarty-php/smarty/releases/tag/v3.1.47
- WEBhttps://github.com/smarty-php/smarty/releases/tag/v4.2.1
- WEBhttps://lists.debian.org/debian-lts-announce/2023/01/msg00002.html
- WEBhttps://lists.debian.org/debian-lts-announce/2024/11/msg00013.html
- WEBhttps://security.gentoo.org/glsa/202209-09