CVE-2018-25080

Low

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.

SeverityLow
CVSS3.5
Exploit probability—
ProductMobiledetect
PublishedFeb 4, 2023
First seenFeb 4, 2023

How to fix

Affected products

ProductAffected versionsFixed in
mobiledetect mobiledetect2.8.31—
mobiledetect/mobiledetectlibPackagistv < 2.8.322.8.32

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.