http.cookies.Morsel.js_output() returns an inline <script...
Low severity
Unreviewed
Published
Apr 22, 2026
to the GitHub Advisory Database
•
Updated May 18, 2026
Description
Published by the National Vulnerability Database
Apr 22, 2026
Published to the GitHub Advisory Database
Apr 22, 2026
Last updated
May 18, 2026
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.
References