CVE-2018-25080
A vulnerability, which was classified as problematic, has been found in MobileDetect 2.8.31.
Does this matter?
A public exploit is published in Exploit-DB, so the technical barrier is gone even though the severity is medium and EPSS is 2.7%. Treat it as high on anything reachable from the internet.
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.
- CVSS 3.1
- 6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 2.66% probability · 86th percentile
- Public exploits
- 1 in Exploit-DB · first 3 December 2025
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- mobiledetect/mobiledetect
- Source
- cna@vuldb.com
EPSS 2.7% since 27 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- https://github.com/serbanghita/Mobile-Detect/commit/31818a441b095bdc4838602dbb17b8377d1e5ccePatch
- https://github.com/serbanghita/Mobile-Detect/pull/741Issue Tracking, Patch
- https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.32Release Notes
- https://vuldb.com/?ctiid.220061Permissions Required, Third Party Advisory
- https://vuldb.com/?id.220061Permissions Required, Third Party Advisory
- https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2018-25080.md
- https://github.com/serbanghita/Mobile-Detect/commit/31818a441b095bdc4838602dbb17b8377d1e5ccePatch
- https://github.com/serbanghita/Mobile-Detect/pull/741Issue Tracking, Patch
- https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.32Release Notes
- https://vuldb.com/?ctiid.220061Permissions Required, Third Party Advisory
- https://vuldb.com/?id.220061Permissions Required, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.