CVE-2026-9769EmilStenstrom justhtml
Alta 8.7 Sin autenticación
Seguir: esta CVE · EmilStenstrom · EmilStenstrom justhtml Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 23 ago 2026
- Actualizada
- 12 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-674
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/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 through 1.9.1 (fixed in 1.10.0) is vulnerable to uncontrolled recursion leading to denial of service. During JustHTML() construction, TreeBuilder.finish() unconditionally calls _populate_selectedcontent(), which recursively traverses the DOM tree via _find_elements()/_find_element() without a depth bound. An attacker who can supply HTML for parsing can provide deeply nested elements (e.g., ~1000 nested <div> tags, roughly 11 KB) to exceed CPython's default recursion limit and trigger an unhandled RecursionError, which may abort parsing, fail requests, or terminate a worker/process depending on the host application's exception handling.
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.10.0 |
1.10.0 |
pip install "justhtml>=1.10.0" |
| PyPI | justhtml |
< 1.10.0 |
1.10.0 |
pip install "justhtml>=1.10.0" |
Según OSV / GitHub Advisories (GHSA-v7cf-c9rm-wm3j, PYSEC-2026-3854). 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.