CVE-2018-25080 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2018-25080.md | CVE | |
| https://github.com/serbanghita/Mobile-Detect/commit/31818a441b095bdc4838602dbb17b8377d1e5cce | CVE | Patch |
| https://github.com/serbanghita/Mobile-Detect/pull/741 | CVE | Issue TrackingPatch |
| https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.32 | CVE | Release Notes |
| https://vuldb.com/?ctiid.220061 | CVE | Permissions RequiredThird Party Advisory |
| https://vuldb.com/?id.220061 | CVE | Permissions RequiredThird Party Advisory |
| https://github.com/serbanghita/Mobile-Detect/commit/31818a441b095bdc4838602dbb17b8377d1e5cce | [email protected] | Patch |
| https://github.com/serbanghita/Mobile-Detect/pull/741 | [email protected] | Issue TrackingPatch |
| https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.32 | [email protected] | Release Notes |
| https://vuldb.com/?ctiid.220061 | [email protected] | Permissions RequiredThird Party Advisory |
| https://vuldb.com/?id.220061 | [email protected] | Permissions RequiredThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mobiledetect mobiledetect | 2.8.31 |
CPE
Remediation
| |
Change History
12 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Apr 16, 2025 | CVE Modified | CVE |
| Nov 21, 2024 | CVE Modified | CVE |
| May 17, 2024 | CVE Modified | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| Apr 11, 2024 | CVE Modified | [email protected] |
| Mar 21, 2024 | CVE Modified | [email protected] |
| Feb 29, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Oct 27, 2023 | Modified Analysis | [email protected] |
| Oct 20, 2023 | CVE Modified | [email protected] |
| Feb 14, 2023 | Initial Analysis | [email protected] |