Back to search
CVE-2026-6019
Published: Apr 22, 2026
Modified: Apr 29, 2026
PUBLISHED
Description
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.
| Vendor | Product | Versions |
|---|---|---|
Python Software Foundation | CPython | affected 0 - < 3.15.0 |
Weaknesses (CWE)
References
https://github.com/python/cpython/issues/90309
issue-tracking
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now