CVE-2026-6019

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:python:python:*:*:*:*:*:*:*:*

History

28 May 2026, 19:15

Type Values Removed Values Added
CPE cpe:2.3:a:python:cpython:*:*:*:*:*:*:*:* cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
First Time Python python
References () https://mail.python.org/archives/list/security-announce@python.org/thread/IVNWGV2BBNC3RHQAFS22UP4DY56SAXX3/ - Vendor Advisory, Mailing List () https://mail.python.org/archives/list/security-announce@python.org/thread/IVNWGV2BBNC3RHQAFS22UP4DY56SAXX3/ - Mailing List, Vendor Advisory

18 May 2026, 17:08

Type Values Removed Values Added
References () https://github.com/python/cpython/commit/3c59b8b53fc75c7f9578d16fb8201ceb43e8f76c - () https://github.com/python/cpython/commit/3c59b8b53fc75c7f9578d16fb8201ceb43e8f76c - Patch
References () https://github.com/python/cpython/commit/76b3923d688c0efc580658476c5f525ec8735104 - () https://github.com/python/cpython/commit/76b3923d688c0efc580658476c5f525ec8735104 - Patch
References () https://github.com/python/cpython/commit/f795e042043dfe26c42e1971d4502c1cdc4c65b8 - () https://github.com/python/cpython/commit/f795e042043dfe26c42e1971d4502c1cdc4c65b8 - Patch
References () https://github.com/python/cpython/issues/90309 - () https://github.com/python/cpython/issues/90309 - Exploit, Issue Tracking
References () https://github.com/python/cpython/pull/148848 - () https://github.com/python/cpython/pull/148848 - Issue Tracking, Patch
References () https://mail.python.org/archives/list/security-announce@python.org/thread/IVNWGV2BBNC3RHQAFS22UP4DY56SAXX3/ - () https://mail.python.org/archives/list/security-announce@python.org/thread/IVNWGV2BBNC3RHQAFS22UP4DY56SAXX3/ - Vendor Advisory, Mailing List
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.1
First Time Python
Python cpython
CWE CWE-116
CPE cpe:2.3:a:python:cpython:*:*:*:*:*:*:*:*

29 Apr 2026, 16:16

Type Values Removed Values Added
References
  • () https://github.com/python/cpython/commit/3c59b8b53fc75c7f9578d16fb8201ceb43e8f76c -
  • () https://github.com/python/cpython/commit/f795e042043dfe26c42e1971d4502c1cdc4c65b8 -

22 Apr 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-22 20:16

Updated : 2026-05-28 19:15


NVD link : CVE-2026-6019

Mitre link : CVE-2026-6019

CVE.ORG link : CVE-2026-6019


JSON object : View

Products Affected

python

  • python
CWE
CWE-150

Improper Neutralization of Escape, Meta, or Control Sequences

CWE-116

Improper Encoding or Escaping of Output