Skip to main content
← All vulnerabilities
CVE-2018-25080GHSA-R77C-QV68-J3PP

MobileDetect Example session_example.php initLayoutType cross site scripting

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.8.32
1 on Exploit-DB

Summary

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.

Timeline

  1. CVE published
  2. Record last updated
  3. Public exploit on Exploit-DB

    EDB-52454

Affected versions

  • n/a MobileDetect

    2.8.31

  • mobiledetect/mobiledetectlibPackagist

    fixed in 2.8.32

References 6

vuldb.com

GitHub · serbanghita/Mobile-Detect

Exploit-DB