logo

CVE-2018-25080 mobiledetect/mobiledetectlib

Package

Manager: composer
Name: mobiledetect/mobiledetectlib
Vulnerable Version: >=0 <2.8.32

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00084 pctl0.25401

Details

Cross-site Scripting in MobileDetect 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 name of the patch is 31818a441b095bdc4838602dbb17b8377d1e5cce. It is recommended to upgrade the affected component. The identifier VDB-220061 was assigned to this vulnerability.

Metadata

Created: 2023-02-04T09:30:21Z
Modified: 2025-04-16T16:13:38Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-r77c-qv68-j3pp/GHSA-r77c-qv68-j3pp.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-r77c-qv68-j3pp
Finding: F008
Auto approve: 1