GHSA-2755-2mm4-rm5cLowCVSS 6.1

http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for...

Published
April 22, 2026
Last Modified
May 18, 2026

🔗 CVE IDs covered (1)

📋 Description

http.cookies.Morsel.js_output() returns an inline snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence inside the generated script element. Mitigation base64-encodes the cookie value to disallow escaping using cookie value.

🔗 References (8)