CVE-2018-25080

LOW

MobileDetect <2.8.31 - XSS

Title source: llm

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.

Exploits (1)

exploitdb WORKING POC
by CodeSecLab · textwebappsphp
https://www.exploit-db.com/exploits/52454

Scores

CVSS v3 3.5
EPSS 0.0345
EPSS Percentile 87.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N

Classification

CWE
CWE-79
Status published

Affected Products (2)

mobiledetect/mobiledetect
mobiledetect/mobiledetectlib < 2.8.32Packagist

Timeline

Published Feb 04, 2023
Tracked Since Feb 18, 2026