inside the generated script element. Mitigation base64-encodes the cookie value to disallow escaping using cookie v","mainEntity":{"@type":"Thing","name":"CVE-2026-6019","identifier":"CVE-2026-6019","description":"BaseCookie.js_output() does not neutralize embedded characters"},"isPartOf":{"@type":"WebSite","name":"VulnTracker","url":"https://vulntracker.io"}}

CVE-2026-6019

BaseCookie.js_output() does not neutralize embedded characters

MEDIUM
6.1
CVSS Score
Published: April 22, 2026 at 07:28 PM UTC
Updated: October 26, 2026 at 09:10 PM UTC
1 product affected across 1 vendorPython

Using CPython by Python Software Foundation?

Get instant alerts when new vulnerabilities affect CPython - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Affected range stops below 3.13.14, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.14.5rc1, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.15.0b1, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-150CWE-116

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card