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-04-25 11:00 UTC (History)
15 users (show)

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


Attachments (Terms of Use)

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.


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