CVE-2018-20583Thephpleague Commonmark
Media 6.1 Sin autenticación
Seguir: esta CVE · Thephpleague · Thephpleague Commonmark Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 3.0
- 6.1
- EPSS
- 1.9% probabilidad de explotación en 30 días · percentil 80
- Requiere autenticación
- No
- Publicada
- 30 dic 2018
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Qué pasa
Cross-site scripting (XSS) vulnerability in the PHP League CommonMark library versions 0.15.6 through 0.18.x before 0.18.1 allows remote attackers to insert unsafe URLs into HTML (even if allow_unsafe_links is false) via a newline character (e.g., writing javascript as javascri%0apt).
Qué hacer
- Aplica la actualización de seguridad del fabricante para Commonmark.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Packagist | league/commonmark |
≥ 0.15.6 < 0.18.1 |
0.18.1 |
composer require "league/commonmark:^0.18.1" |
Según OSV / GitHub Advisories (GHSA-qx76-c53f-5c7q). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| thephpleague | commonmark | ≥ 0.15.6 ≤ 0.18.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- commonmark.thephpleague.com Release Notes Third Party Advisory
- github.com Exploit Third Party Advisory
- github.com Release Notes Third Party Advisory