{"id":"JLSEC-2026-1639","aliases":["JLSEC-2026-1639"],"related":["CVE-2026-6019"],"kind":"vulnerability","state":"published","title":"http.cookies.Morsel.jsoutput() returns an inline <script snippet and only escapes \" for JavaScript string context.","summary":"`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.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"`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.","format":"markdown","source":"jlsec"}],"published":"2026-12-01T15:11:45.475Z","modified":"2026-12-01T15:15:03.423Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"Julia Security Advisories","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Julia","package":"Python_jll","purl":"pkg:julia/Python_jll?uuid=93d3a430-8e7c-50da-8e8d-3dfcfb3baf05","source":"jlsec"}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/python/cpython/commit/3c59b8b53fc75c7f9578d16fb8201ceb43e8f76c","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/python/cpython/commit/76b3923d688c0efc580658476c5f525ec8735104","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/python/cpython/commit/f795e042043dfe26c42e1971d4502c1cdc4c65b8","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/python/cpython/issues/90309","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/python/cpython/pull/148848","tags":["web"],"sources":["jlsec"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/IVNWGV2BBNC3RHQAFS22UP4DY56SAXX3/","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-1639","url":"https://osv.dev/vulnerability/JLSEC-2026-1639","licence":"CC-BY-4.0","modified":"2026-12-01T15:15:03.423Z"}],"updatedAt":"2026-12-01T15:27:04.887Z"}