CVE-2026-6019

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductPython
PublishedApr 22, 2026
First seenApr 22, 2026
Weakness typeCWE-150CWE-150

How to fix

Affected products

ProductAffected versionsFixed in
python pythonv < 3.13.14, 3.14.0 ≤ v ≤ 3.14.4, 3.15.03.13.14

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.