CVE-2026-5388EmilStenstrom justhtml
Crítica 9.3 Sin autenticación
Seguir: esta CVE · EmilStenstrom · EmilStenstrom justhtml Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 71
- CVSS 4.0
- 9.3
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 23 ago 2026
- Actualizada
- 12 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-20
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
justhtml before 1.15.0 contains multiple security issues in URL sanitization helpers (clean_url_value/clean_url_in_js_string), HTML serialization, Markdown passthrough (html_passthrough=True), and several custom sanitization-policy edge cases. Depending on configuration, an attacker can bypass sanitization to inject active HTML and JavaScript — for example via encoded javascript: URLs, backslash-based relative URLs resolved as remote hosts, markup-breaking programmatic element/attribute names or HTML comments, raw </textarea> reintroduction through Markdown passthrough, or preserved <style>/<meta http-equiv=refresh>/<base href> tags in custom policies. Most custom-policy issues do not affect the default sanitize=True configuration; they primarily affect helper APIs, programmatic DOM construction, html_passthrough=True, and custom policies/transform pipelines.
Qué hacer
- Aplica la actualización de seguridad del fabricante para justhtml.
- 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 | justhtml |
< 1.15.0 |
1.15.0 |
pip install "justhtml>=1.15.0" |
Según OSV / GitHub Advisories (GHSA-c9vm-hv86-f23r). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- EmilStenstrom · justhtml
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.