CVE-2018-25047
publishedPackage status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | bullseye | smarty3 | Advisory build | 3.1.39-2+deb11u2 | DLA-3956-1 |
| Ubuntu | bionic | smarty3 | Advisory build | 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1 | USN-7158-1 |
| Debian | buster | smarty3 | Advisory build | 3.1.33+20180830.1.3a78a21f+selfpack1-1+deb10u2 | DLA-3262-1 |
| Ubuntu | focal | smarty3 | Advisory build | 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1 | USN-7158-1 |
| Ubuntu | jammy | smarty3 | Advisory build | 3.1.39-2ubuntu1.22.04.2 | USN-7158-1 |
| Ubuntu | noble | smarty3 | Advisory build | 3.1.48-1ubuntu0.24.04.1 | USN-7158-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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
7- https://bugs.gentoo.org/870100
- https://github.com/smarty-php/smarty/issues/454
- https://github.com/smarty-php/smarty/releases/tag/v3.1.47
- https://github.com/smarty-php/smarty/releases/tag/v4.2.1
- [debian-lts-announce] 20230105 [SECURITY] [DLA 3262-1] smarty3 security update https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html
- https://lists.debian.org/debian-lts-announce/2024/11/msg00013.html
- GLSA-202209-09 https://security.gentoo.org/glsa/202209-09
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- aa2805c38c1465e744d71c133c45703924fe82856caadac1c1173cf8c7c1af8a
- Ingested
- 23 Sep 2026, 07:44:29 UTC
- Source record
- Official CVE record