CVE-2018-25047
Publication date 15 September 2022
Last updated 12 December 2024
Ubuntu priority
Cvss 3 Severity Score
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
smarty3 | 24.10 oracular |
Fixed 3.1.48-1ubuntu0.24.10.1
|
24.04 LTS noble |
Fixed 3.1.48-1ubuntu0.24.04.1
|
|
22.04 LTS jammy |
Fixed 3.1.39-2ubuntu1.22.04.2
|
|
20.04 LTS focal |
Fixed 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1
|
|
18.04 LTS bionic |
Fixed 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1
|
|
16.04 LTS xenial |
Needs evaluation
|
|
14.04 LTS trusty | Ignored end of standard support | |
smarty4 | 24.10 oracular |
Needs evaluation
|
24.04 LTS noble |
Needs evaluation
|
|
22.04 LTS jammy | Not in release | |
20.04 LTS focal | Not in release | |
18.04 LTS bionic | Not in release | |
16.04 LTS xenial | Ignored end of standard support | |
14.04 LTS trusty | Ignored end of standard support |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProSeverity score breakdown
Parameter | Value |
---|---|
Base score | 5.4 · Medium |
Attack vector | Network |
Attack complexity | Low |
Privileges required | Low |
User interaction | Required |
Scope | Changed |
Confidentiality | Low |
Integrity impact | Low |
Availability impact | None |
Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
References
Related Ubuntu Security Notices (USN)
- USN-7158-1
- Smarty vulnerabilities
- 12 December 2024
Other references
- https://github.com/smarty-php/smarty/issues/454
- https://github.com/smarty-php/smarty/commit/f1f7ee6e34c14a8a9dfa5c6ef894d39277a93938 (v3.1.47)
- https://github.com/smarty-php/smarty/commit/55ea25d1f50f0406fb1ccedd212c527977793fc9 (v4.2.1)
- https://github.com/smarty-php/smarty/releases/tag/v4.2.1
- https://github.com/smarty-php/smarty/releases/tag/v3.1.47
- https://bugs.gentoo.org/870100
- https://www.cve.org/CVERecord?id=CVE-2018-25047