SecurityContext

CVE-2018-25080: MobileDetect - Reflected XSS

  • Cve: CVE-2018-25080
  • Name: MobileDetect - Reflected XSS
  • 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.
  • Impact: Remote attackers can execute malicious scripts in the victim's browser, leading to session hijacking or defacement.
  • Remediation: Upgrade to version 2.8.32.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim needs to load the affected page
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.02777
  • Epss percentile: 0.86723
  • Assignee: [email protected]
  • Published at: 2023-02-04T08:15:07Z
  • Age in days: 1389
  • Modified at: 2026-06-17T01:54:40Z
  • Patch available: yes
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-25080
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/serbanghita/Mobile-Detect/commit/31818a441b095bdc4838602dbb17b8377d1e5ccePatch
https://github.com/serbanghita/Mobile-Detect/pull/741Issue Tracking, Patch
https://vuldb.com/?ctiid.220061Permissions Required, Third Party Advisory
https://vuldb.com/?id.220061Permissions Required, Third Party Advisory
https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.32Release Notes
https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2018-25080.md

Products

ProductAffectedPlatform boundSourcesUrl
mobiledetect:mobiledetect= 2.8.31nonvd/v1/products/mobiledetect/mobiledetect

Projects

RepositoryLink kindsIndexedUrl
serbanghita/mobile-detectcommit, package, pull, releasesyes/v1/repositories/serbanghita/mobile-detect

Index

  • Repositories: 12
  • Repositories high signal: 8
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts