PT-2026-34549
CVE-2026-6019
·
Published
2026-04-22
·
Updated
2026-10-20
Description by
CVSS 2.0
6.4
MediumMetricsAV:N/AC:L/Au:N/C:P/I:P/A:N
Name of the Vulnerable Software and Affected Versions
Python (affected versions not specified)
Description
The
js output() function within http.cookies.Morsel returns an inline <script> snippet that only escapes double quotes for JavaScript string context. It fails to neutralize the </script> sequence, which is sensitive to the HTML parser, allowing for potential escaping within the generated script element.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Base64-encode the cookie value to prevent escaping via the cookie value.
Exploitability
Exploit
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾