nday
CVE-2018-25080

MobileDetect Example session_example.php initLayoutType cross site scripting

Preuve de concept publique parue 1 033 jours après la divulgation. nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans une seule des 4 sources de PoC : exploitdb. Aucune inscription au catalogue KEV de la CISA à ce jour.

tags weakness typeXSS accessnetwork exploitationExploit-DB
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

XSS
CWE-79, stated by the CNA VulDB, NVD's analysts et NVD, republishing [email protected]
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N (CVSS 3.1) from the CNA VulDB
Exploit-DB
Exploit-DB entries 52454
étape actuelle
POC
divulgation
délai avant PoC
T+1033d POC : date seule
CVSS
3.5 LOW v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2023-02-04T07:57Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
2025-12-03, date seule
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:R
Required: a user must do something, such as open a file or click a link

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N

CVSS 3.1 vector from the CVE record, scored by the CNA VulDB.

Journal des événements

+DISdivulgation

Fiche CVE publiée par VulDB. CVSS 3.5, gravité faible.

source cvelist · importé en masse par nday le · brut
{
  "id": 66203,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2018-25080",
  "occurred_at": "2023-02-04T07:57:04.115Z",
  "observed_at": "2026-11-12T23:01:25.305088Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N",
      "version": "3.1",
      "base_score": 3.5,
      "base_severity": "LOW"
    },
    "state": "PUBLISHED",
    "date_published": "2023-02-04T07:57:04.115Z",
    "assigner_short_name": "VulDB"
  }
}
2025-12-03date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « MobileDetect 2.8.31 - Cross-Site Scripting (XSS) » (EDB-52454).

source exploitdb 52454 · importé en masse par nday le · brut
{
  "id": 35250,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/52454",
  "occurred_at": "2025-12-03T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "52454",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/52454",
    "file": "exploits/php/webapps/52454.txt",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "MobileDetect 2.8.31 - Cross-Site Scripting (XSS)",
    "author": "CodeSecLab",
    "edb_id": 52454,
    "cve_ids": [
      "CVE-2018-25080"
    ],
    "platform": "php",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2025-12-03",
    "date_updated": "2025-12-03",
    "date_published": "2025-12-03"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.