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.
References
| Link | Resource |
|---|---|
| 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/commit/31818a441b095bdc4838602dbb17b8377d1e5cce | Patch |
| https://github.com/serbanghita/Mobile-Detect/pull/741 | Issue Tracking 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://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/?ctiid.220061 | Permissions Required Third Party Advisory |
| https://vuldb.com/?id.220061 | Permissions Required Third Party Advisory |
| https://vuldb.com/?id.220061 | Permissions Required Third Party Advisory |
Configurations
History
16 Apr 2025, 15:15
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
|
| References | () https://vuldb.com/?id.220061 - Permissions Required, Third Party Advisory | |
| References | () https://vuldb.com/?ctiid.220061 - Permissions Required, Third Party Advisory | |
| References | () https://github.com/serbanghita/Mobile-Detect/commit/31818a441b095bdc4838602dbb17b8377d1e5cce - Patch | |
| References | () https://github.com/serbanghita/Mobile-Detect/pull/741 - Issue Tracking, Patch | |
| References | () https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.32 - Release Notes |
27 Oct 2023, 20:12
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-79 | |
| CPE | cpe:2.3:a:mobiledetect:mobiledetect:2.8.31:*:*:*:*:*:*:* | |
| First Time |
Mobiledetect
Mobiledetect mobiledetect |
20 Oct 2023, 13:15
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | ||
| Summary | 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. |
Information
Published : 2023-02-04 08:15
Updated : 2025-04-16 15:15
NVD link : CVE-2018-25080
Mitre link : CVE-2018-25080
JSON object : View
Products Affected
mobiledetect
- mobiledetect
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
