CVE Database
/

CVE-2026-6019

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.

VendorProductVersions

Python Software Foundation

CPython

affected
0 - < 3.15.0

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now