nday
CVE-2018-25080

MobileDetect Example session_example.php initLayoutType cross site scripting

Apareció una PoC pública 1033 días después de la divulgación. nday aún no tiene constancia de una corrección; eso no significa que no exista parche. La recoge 1 de las 4 fuentes de PoC: exploitdb. No figura en el KEV de CISA.

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 y 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
etapa
POC
divulgación
divulgación → PoC
T+1033d POC: solo fecha
cvss
3.5 LOW v3.1

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
2023-02-04T07:57Z
PATparcheada
sin registro aún
ANAanalizada
sin registro aún
POCPoC
2025-12-03, solo fecha
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Registro de eventos

+DISdivulgación

VulDB publicó el registro CVE. CVSS 3.5, severidad baja.

fuente cvelist · nday , importación masiva · en bruto
{
  "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-03solo fecha, según la fuente
+POCPoC pública

Exploit-DB recoge el exploit público «MobileDetect 2.8.31 - Cross-Site Scripting (XSS)» (EDB-52454).

fuente exploitdb 52454 · nday , importación masiva · en bruto
{
  "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.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.