CVE-2026-6019
Python Software Foundation cross-site scripting in http.cookies js_output
An attacker can run scripts in a victim's browser by planting a crafted cookie value.
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Fuente: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NCiclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-6019 divulgada · CVSS 2.1 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Monitoreo | Detectada | Ingresó al índice | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence </script> inside the generated script element. Mitigation base64-encodes the cookie value to disallow escaping using cookie value.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
CPython |
Corregida | 3.13.14, 3.14.5rc1, 3.15.0b1 | — | — |
libpython |
Corregida | 3.13.14, 3.14.5 | — | — |
python |
Corregida | 3.13.14, 3.14.5 | — | — |
3.13.143.14.5rc13.14.53.15.0b1Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://mail.python.org/archives/list/security-announce@python.org/thread/IVNWGV2BBNC3RHQAFS22UP4DY56SAXX3/https://github.com/python/cpython/pull/148848https://github.com/python/cpython/commit/76b3923d688c0efc580658476c5f525ec8735104https://github.com/python/cpython/commit/3c59b8b53fc75c7f9578d16fb8201ceb43e8f76chttps://github.com/python/cpython/commit/f795e042043dfe26c42e1971d4502c1cdc4c65b8https://github.com/python/cpython/issues/90309https://cert-portal.siemens.com/productcert/html/ssa-457936.htmlLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
