SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2018-25080

A vulnerability, which was classified as problematic, has been found in MobileDetect 2.8.31.

EXPLOITMEDIUM 6.1EPSS 2.66%

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 trend
0%3%5%27 October 2026: 2.66%27 October 202627 October 2026

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.

EDB-IDTitleTypePublishedVerified
EDB-52454source ↗MobileDetect 2.8.31 - Cross-Site Scripting (XSS)php · CodeSecLabwebapps3 December 2025no

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.