Vulnerability Details : CVE-2018-25080
A vulnerability, which was classified as problematic, has been found in MobileDetect 2.8.31. This issue affects the function initLayoutType of the file examples/session_example.php of the component Example. The manipulation of the argument $_SERVER['PHP_SELF'] leads to cross site scripting. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 2.8.32 is able to address this issue. The identifier of the patch is 31818a441b095bdc4838602dbb17b8377d1e5cce. It is recommended to upgrade the affected component. The identifier VDB-220061 was assigned to this vulnerability.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2018-25080
- cpe:2.3:a:mobiledetect:mobiledetect:2.8.31:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-25080
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 44 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-25080
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.0
|
MEDIUM | AV:N/AC:L/Au:S/C:N/I:P/A:N |
8.0
|
2.9
|
VulDB | |
3.5
|
LOW | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
2.1
|
1.4
|
VulDB | |
3.5
|
LOW | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
2.1
|
1.4
|
VulDB | 2024-02-29 |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST |
CWE ids for CVE-2018-25080
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by:
- cna@vuldb.com (Secondary)
- nvd@nist.gov (Primary)
References for CVE-2018-25080
-
https://github.com/serbanghita/Mobile-Detect/commit/31818a441b095bdc4838602dbb17b8377d1e5cce
XSS vulnerability (#741) · serbanghita/Mobile-Detect@31818a4 · GitHubPatch
-
https://vuldb.com/?id.220061
Login requiredPermissions Required;Third Party Advisory
-
https://github.com/serbanghita/Mobile-Detect/pull/741
XSS vulnerability by timersys · Pull Request #741 · serbanghita/Mobile-Detect · GitHubIssue Tracking;Patch
-
https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.32
Release 2.8.32 · serbanghita/Mobile-Detect · GitHubRelease Notes
-
https://vuldb.com/?ctiid.220061
Login requiredPermissions Required;Third Party Advisory
Jump to