---
cve: "CVE-2026-6019"
severity: "LOW"
cvss: 2.1
epss: "23%"
vendor: "Python Software Foundation"
kev: false
exploited: false
published: "2026-04-22 20:16:42"
tags: [cve, security, low]
source: tsecurity.de CVE-Dossier
exported: "2026-09-10T05:45:44+02:00"
---

# CVE-2026-6019

> 2.1 LOW · 🧪 PoC

## Beschreibung

http.cookies.Morsel.js_output() returns an inline  snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence  inside the generated script element. Mitigation base64-encodes the cookie value to disallow escaping using cookie value.

## CVSS-Vektor

```
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
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Hoch | good |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- fd17997c3866d61e0e7bd8201b1d8f35b40a40bd (Commit)
- 3c59b8b53fc75c7f9578d16fb8201ceb43e8f76c (Commit)

## Referenzen

- <https://github.com/python/cpython/pull/148848>
- <https://github.com/python/cpython/issues/90309>
- <https://mail.python.org/archives/list/security-announce@python.org/thread/IVNWGV2BBNC3RHQAFS22UP4DY56SAXX3/>
- <https://github.com/python/cpython/commit/76b3923d688c0efc580658476c5f525ec8735104>
- <https://github.com/python/cpython/commit/3c59b8b53fc75c7f9578d16fb8201ceb43e8f76c>
- <https://github.com/python/cpython/commit/f795e042043dfe26c42e1971d4502c1cdc4c65b8>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-6019) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
