PT-2023-10821 · Unknown · Mobiledetect

Timersys

·

Published

2023-02-04

·

Updated

2024-05-17

·

CVE-2018-25080

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions MobileDetect version 2.8.31
Description A problematic issue has been found in MobileDetect, affecting the initLayoutType function of the examples/session example.php file in the Example component. The manipulation of the argument $ SERVER['PHP SELF'] leads to cross-site scripting. The attack can be initiated remotely, and the exploit has been disclosed to the public.
Recommendations To address this issue, upgrade to version 2.8.32. As a temporary workaround, consider restricting access to the initLayoutType function until the update is applied. Additionally, be cautious when using the $ SERVER['PHP SELF'] argument in the affected component to minimize the risk of exploitation.

Exploit

Fix

XSS

Weakness Enumeration

Related Identifiers

CVE-2018-25080
GHSA-R77C-QV68-J3PP

Affected Products

Mobiledetect