{"id":"CVE-2026-6019","aliases":["CVE-2026-6019","PSF-2026-21","BIT-LIBPYTHON-2026-6019","BIT-PYTHON-2026-6019","BIT-PYTHON-MIN-2026-6019"],"related":[],"kind":"vulnerability","state":"published","title":"BaseCookie.js_output() does not neutralize embedded characters","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.","summarySource":"cvelist","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.","source":"cvelist"},{"lang":"es","text":"http.cookies.Morsel.js_output() devuelve un fragmento de [script_tag] en línea y solo escapa ” para el contexto de cadena de JavaScript. No neutraliza la secuencia sensible al analizador HTML [/script] dentro del elemento de script generado. La mitigación codifica en base64 el valor de la cookie para impedir el escape utilizando el valor de la cookie.","source":"nvd"}],"published":"2026-04-22T19:28:08.720Z","modified":"2026-11-10T13:19:38.513Z","severity":{"scorer":"PSF","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","score":2.1,"rating":"LOW"},"severities":[{"scorer":"PSF","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","score":2.1,"rating":"LOW"},{"scorer":"NVD","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":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-116","CWE-150"],"affected":[{"ranges":[{"type":"python","introduced":"0","fixed":"3.13.14","status":"affected"},{"type":"python","introduced":"3.14.0a1","fixed":"3.14.5rc1","status":"affected"},{"type":"python","introduced":"3.15.0a1","fixed":"3.15.0b1","status":"affected"}],"vendor":"Python Software Foundation","product":"CPython","repo":"https://github.com/python/cpython","source":"cvelist"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"76b3923d688c0efc580658476c5f525ec8735104"},{"type":"git","status":"affected","fixed":"3c59b8b53fc75c7f9578d16fb8201ceb43e8f76c"},{"type":"git","status":"affected","fixed":"f795e042043dfe26c42e1971d4502c1cdc4c65b8"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"status":"affected","fixed":"3.13.14"},{"status":"affected","introduced":"3.14.0","lastAffected":"3.14.4"},{"status":"affected","version":"3.15.0"},{"status":"affected","version":"3.15.0"},{"status":"affected","version":"3.15.0"},{"status":"affected","version":"3.15.0"},{"status":"affected","version":"3.15.0"},{"status":"affected","version":"3.15.0"},{"status":"affected","version":"3.15.0"},{"status":"affected","version":"3.15.0"}],"vendor":"python","product":"python","cpe":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.13.14"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.5"}],"ecosystem":"Bitnami","package":"libpython","purl":"pkg:bitnami/libpython","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.13.14"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.5"}],"ecosystem":"Bitnami","package":"python","purl":"pkg:bitnami/python","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.13.14"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.5"}],"ecosystem":"Bitnami","package":"python-min","purl":"pkg:bitnami/python-min","source":"bitnami"}],"references":[{"url":"https://github.com/python/cpython/pull/148848","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/issues/90309","tags":["evidence","exploit","issue-tracking","report"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/IVNWGV2BBNC3RHQAFS22UP4DY56SAXX3/","tags":["advisory","mailing-list","vendor-advisory"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/76b3923d688c0efc580658476c5f525ec8735104","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/3c59b8b53fc75c7f9578d16fb8201ceb43e8f76c","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/f795e042043dfe26c42e1971d4502c1cdc4c65b8","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6019","tags":["web"],"sources":["bitnami"]}],"credits":["oolongeya (https://github.com/komi22)","Seth Larson (https://github.com/sethmlarson)"],"assigner":"PSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-22T20:02:17.071Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6019","url":"https://www.cve.org/CVERecord?id=CVE-2026-6019","licence":"CVE Terms of Use","modified":"2026-11-10T12:40:32.622Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-2026-21","url":"https://osv.dev/vulnerability/PSF-2026-21","licence":"CC-BY-4.0","modified":"2026-06-25T08:11:10.262Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6019","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6019","licence":"Public domain","modified":"2026-11-10T13:19:38.513Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPYTHON-2026-6019","url":"https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-6019","licence":"Apache-2.0","modified":"2026-09-10T16:01:13.167Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-2026-6019","url":"https://osv.dev/vulnerability/BIT-PYTHON-2026-6019","licence":"Apache-2.0","modified":"2026-09-10T16:01:46.174Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-MIN-2026-6019","url":"https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-6019","licence":"Apache-2.0","modified":"2026-09-10T16:01:46.010Z"}],"updatedAt":"2026-11-25T22:59:19.350Z","epss":{"score":0.00258,"percentile":0.1867,"date":"2026-12-01T12:00:22.000Z"}}