ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-6019

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12pypy3
All versions, no fix listed
Debian:13pypy3
All versions, no fix listed
Debian:14pypy3
All versions, no fix listed
Debian:12python3.11
All versions before 3.11.2-6+deb12u9 (fixed in 3.11.2-6+deb12u9)
Debian:13python3.13
All versions before 3.13.5-2+deb13u2 (fixed in 3.13.5-2+deb13u2)
Debian:14python3.14
All versions before 3.14.5~rc1-1 (fixed in 3.14.5~rc1-1)

References