CVE-2026-6019: http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string co
CVE-2026-6019 is a medium-severity flaw (CVSS 6.1) affecting python. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Advisories and coverage
Official advisories
- AlmaLinux Errata: [ALSA-2026:28247] Important: python3.14 security, bug fix, and enhancement update 2026-06-25
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-6019?
python: upgrade to 3.13.14. Exact commands for each OS are on this page.
Is CVE-2026-6019 being exploited?
CVE-2026-6019 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-6019 affect?
CVE-2026-6019 affects python. Severity is medium (CVSS 6.1). 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-
How urgent is CVE-2026-6019?
Priority 29/100. Public exploit reference
Software pages
Related CVEs
- CVE-2026-3087 HIGH 7.5 UPGRADE If `shutil.unpack_archive()` is given a ZIP archive with an absolute Windows path containing a drive (`C:\\...
- CVE-2026-7210 HIGH 7.5 UPGRADE `xml.parsers.expat` and `xml.etree.ElementTree` use insufficient entropy for Expat hash-flooding protection, w
- CVE-2026-0864 MEDIUM 5.5 UPGRADE When using the "configparser" module to write configuration files containing multi-line text values with carri
- CVE-2026-4360 MEDIUM 5.3 UPGRADE In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks
- CVE-2026-15308 HIGH 7.5 UPGRADE The incremental HTML parser (html.parser.HTMLParser) allows for CPU denial-of-service through repeated untermi