Bug 2460869 (CVE-2026-6019) - CVE-2026-6019 python: Python: Cross-Site Scripting (XSS) vulnerability in http.cookies module
Summary: CVE-2026-6019 python: Python: Cross-Site Scripting (XSS) vulnerability in htt...
Keywords:
Status: NEW
Alias: CVE-2026-6019
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-22 20:01 UTC by OSIDB Bzimport
Modified: 2026-07-02 16:56 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:28247 0 None None None 2026-06-23 23:12:49 UTC
Red Hat Product Errata RHSA-2026:28581 0 None None None 2026-06-24 04:48:03 UTC

Description OSIDB Bzimport 2026-04-22 20:01:42 UTC
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.

Comment 3 errata-xmlrpc 2026-06-23 23:12:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:28247 https://access.redhat.com/errata/RHSA-2026:28247

Comment 4 errata-xmlrpc 2026-06-24 04:48:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:28581 https://access.redhat.com/errata/RHSA-2026:28581


Note You need to log in before you can comment on or make changes to this bug.