CVE-2026-6019

CVE-2026-6019CVE-2026-6019

python / python

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.

Scoring

CVSS 6.1 ()
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Last modified2026-07-27
Sourced from NVD. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.