CVE-2026-6019
Last modified
CVE-2026-6019 is a low-severity vulnerability rated 2.1/10 on the CVSS scale. 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. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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/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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Python | < 3.15.0 |
References
- https://github.com/python/cpython/issues/90309Exploit, Issue Tracking
- https://github.com/python/cpython/pull/148848Issue Tracking, Patch
- https://mail.python.org/archives/list/security-announce@python.org/thread/IVNWGV2BBNC3RHQAFS22UP4DY56SAXX3/Mailing List, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-6019?
How severe is CVE-2026-6019?
How do I fix CVE-2026-6019?
Are you affected by CVE-2026-6019?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
