CVE-2026-6019

LOW CVSS 4.0: 2.1 EPSS 0.22%
Updated Oct 27, 2026
Python
Parameter Value
CVSS 2.1 (LOW)
Affected Versions 3.14.0 — 3.14.4
Fixed In 3.13.14
Type CWE-116 (Improper Encoding or Escaping of Output), CWE-150
Vendor Python
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
High
Admin privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 10

Configuration From (including) Up to (excluding)
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
— 3.13.14
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.14.0 <= 3.14.4
Python Python
cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:alpha3:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:alpha4:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:alpha5:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:alpha6:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:alpha7:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:alpha8:*:*:*:*:*:*
— —