REDHAT-BUG-2460869: Medium severity Python http.cookies.Morsel vulnerability

Published Apr 22, 2026
·
Updated

http.cookies.Morsel.jsoutput() 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.

Affected Software

1 affected component
Python http.cookies.Morsel

Event History

Apr 22, 2026
Data Sourced
via Red Hat·08:01 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2460869?

The severity of REDHAT-BUG-2460869 is classified as medium with a score of 4.

2

What vulnerability is discussed in REDHAT-BUG-2460869?

REDHAT-BUG-2460869 addresses an issue where the http.cookies.Morsel.js_output() function does not properly neutralize HTML parser-sensitive sequences.

3

How do I fix REDHAT-BUG-2460869?

To fix REDHAT-BUG-2460869, it is recommended to use mitigation techniques such as base64-encoding the cookie value.

4

What software is affected by REDHAT-BUG-2460869?

The vulnerability REDHAT-BUG-2460869 affects the Python http.cookies.Morsel module.

5

Is REDHAT-BUG-2460869 a critical vulnerability?

No, REDHAT-BUG-2460869 is not classified as critical, but it does pose a medium risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203