CVE-2018-19787Lxml
Media 6.1 Sin autenticación
Seguir: esta CVE · Lxml · Lxml Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 3.1
- 6.1
- EPSS
- 2.4% probabilidad de explotación en 30 días · percentil 85
- Requiere autenticación
- No
- Publicada
- 2 dic 2018
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Qué pasa
An issue was discovered in lxml before 4.2.5. lxml/html/clean.py in the lxml.html.clean module does not remove javascript: URLs that use escaping, allowing a remote attacker to conduct XSS attacks, as demonstrated by "j a v a s c r i p t:" in Internet Explorer. This is a similar issue to CVE-2014-3146.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Lxml.
- 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 |
|---|---|---|---|---|
| PyPI | lxml |
< 4.2.5 |
4.2.5 |
pip install "lxml>=4.2.5" |
| PyPI | lxml |
< 4.2.5 |
4.2.5 |
pip install "lxml>=4.2.5" |
Según OSV / GitHub Advisories (GHSA-xp26-p53h-6h2p, PYSEC-2018-12). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| lxml | lxml | < 4.2.5 |
| debian | debian_linux | 8.0 |
| canonical | ubuntu_linux | 12.04 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory