CVE-2026-6019

Severity CVSS v4.0:
LOW
Type:
Unavailable / Other
Publication date:
22/04/2026
Last modified:
18/05/2026

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:python:cpython:*:*:*:*:*:*:*:* 3.15.0 (excluding)