Read the docs
TI-2018-15307 Aliases CVE-2018-25080GHSA-r77c-qv68-j3pp

MobileDetect Example session_example.php initLayoutType cross site scripting

Priority LOW 32CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.

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.

Why it matters now

EPSS 0.02655 85th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Fixed mobiledetect/mobiledetectlib (Packagist): 2.8.32

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—MobileDetect2.8.31—No fix listedCNA
—mobiledetect/mobiledetectlib (Packagist)before 2.8.322.8.32Patch availableGHSA-r77c-qv68-j3pp
  • MobileDetect Vendor— Affected 2.8.31 Fixed in — No fix listed CNA
  • mobiledetect/mobiledetectlib (Packagist) Vendor— Affected before 2.8.32 Fixed in 2.8.32 Patch available GHSA-r77c-qv68-j3pp

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mobiledetect:mobiledetect:2.8.31:*:*:*:*:*:*:*2.8.31VulnerableMobiledetect
  • cpe:2.3:a:mobiledetect:mobiledetect:2.8.31:*:*:*:*:*:*:* Versions 2.8.31 Vulnerable ·Mobiledetect

Remediation

  • Fix · GHSA-r77c-qv68-j3pp mobiledetect/mobiledetectlib (Packagist) Fixed in 2.8.32 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-25080
  2. 2026-10-03 Alias added: GHSA-r77c-qv68-j3pp

References

Sources