CVE-2018-25080
MobileDetect Cross-Site Scripting Vulnerability
Description
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.
INFO
Published Date :
Feb. 4, 2023, 8:15 a.m.
Last Modified :
April 16, 2025, 3:15 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.7
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-25080
.
URL | Resource |
---|---|
https://github.com/serbanghita/Mobile-Detect/commit/31818a441b095bdc4838602dbb17b8377d1e5cce | Patch |
https://github.com/serbanghita/Mobile-Detect/pull/741 | Issue Tracking Patch |
https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.32 | Release Notes |
https://vuldb.com/?ctiid.220061 | Permissions Required Third Party Advisory |
https://vuldb.com/?id.220061 | Permissions Required Third Party Advisory |
https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2018-25080.md | |
https://github.com/serbanghita/Mobile-Detect/commit/31818a441b095bdc4838602dbb17b8377d1e5cce | Patch |
https://github.com/serbanghita/Mobile-Detect/pull/741 | Issue Tracking Patch |
https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.32 | Release Notes |
https://vuldb.com/?ctiid.220061 | Permissions Required Third Party Advisory |
https://vuldb.com/?id.220061 | Permissions Required Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-25080
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-25080
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Apr. 16, 2025
Action Type Old Value New Value Added Reference https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2018-25080.md -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/serbanghita/Mobile-Detect/commit/31818a441b095bdc4838602dbb17b8377d1e5cce Added Reference https://github.com/serbanghita/Mobile-Detect/pull/741 Added Reference https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.32 Added Reference https://vuldb.com/?ctiid.220061 Added Reference https://vuldb.com/?id.220061 -
CVE Modified by [email protected]
May. 17, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Apr. 11, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Mar. 21, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Feb. 29, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Removed CVSS V3 VulDB AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N Added CVSS V3.1 VulDB AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N -
Modified Analysis by [email protected]
Oct. 27, 2023
Action Type Old Value New Value Added CWE NIST CWE-79 Changed CPE Configuration OR *cpe:2.3:a:mobile_detect_project:mobile_detect:2.8.31:*:*:*:*:*:*:* OR *cpe:2.3:a:mobiledetect:mobiledetect:2.8.31:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Oct. 20, 2023
Action Type Old Value New Value Changed Description 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 name of the patch is 31818a441b095bdc4838602dbb17b8377d1e5cce. It is recommended to upgrade the affected component. The identifier VDB-220061 was assigned to this vulnerability. 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. -
Initial Analysis by [email protected]
Feb. 14, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Changed Reference Type https://github.com/serbanghita/Mobile-Detect/commit/31818a441b095bdc4838602dbb17b8377d1e5cce No Types Assigned https://github.com/serbanghita/Mobile-Detect/commit/31818a441b095bdc4838602dbb17b8377d1e5cce Patch Changed Reference Type https://github.com/serbanghita/Mobile-Detect/pull/741 No Types Assigned https://github.com/serbanghita/Mobile-Detect/pull/741 Issue Tracking, Patch Changed Reference Type https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.32 No Types Assigned https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.32 Release Notes Changed Reference Type https://vuldb.com/?ctiid.220061 No Types Assigned https://vuldb.com/?ctiid.220061 Permissions Required, Third Party Advisory Changed Reference Type https://vuldb.com/?id.220061 No Types Assigned https://vuldb.com/?id.220061 Permissions Required, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:mobile_detect_project:mobile_detect:2.8.31:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2018-25080
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2018-25080
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.08 }} 0.02%
score
0.25761
percentile