DHI-662g-wcbx-hvvz-g4is
http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context. It…
UnscoredFix available
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-19
- Age
- 14d old
- Modified
- 2026-11-30
- Product
- Docker Hardened Images:Debian:13 python-3.10
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.
Fixed in
3.10.22-5 · 3.11.18-5 · 3.12.16-5 · 3.13.13-0 · 3.13.13-r0 · 3.13.13-r5 · 3.14.4-r5
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Docker Hardened Images:Alpine:3.23 | python-3.13 | >=0, <3.13.13-r5 | 3.13.13-r5 |
| Docker Hardened Images:Alpine:3.23 | python-3.14 | >=0, <3.14.4-r5 | 3.14.4-r5 |
| Docker Hardened Images:Alpine:3.24 | python-3.13 | >=0, <3.13.13-r0 | 3.13.13-r0 |
| Docker Hardened Images:Debian:13 | python-3.10 | >=0, <3.10.22-5 | 3.10.22-5 |
| Docker Hardened Images:Debian:13 | python-3.11 | >=0, <3.11.18-5 | 3.11.18-5 |
| Docker Hardened Images:Debian:13 | python-3.12 | >=0, <3.12.16-5 | 3.12.16-5 |
| Docker Hardened Images:Debian:13 | python-3.13 | >=0, <3.13.13-0 | 3.13.13-0 |
Sources
- OSV · first seen 14d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-662g-wcbx-hvvz-g4is advisory
- https://github.com/python/cpython/pull/148848 fix
- https://github.com/python/cpython/commit/f795e042043dfe26c42e1971d4502c1cdc4c65b8 fix
- https://github.com/python/cpython/commit/76b3923d688c0efc580658476c5f525ec8735104 fix
- https://github.com/python/cpython/commit/3c59b8b53fc75c7f9578d16fb8201ceb43e8f76c fix
- https://github.com/python/cpython/issues/90309 web
- https://errata.almalinux.org/9/ALSA-2026-28247.html advisory
- https://access.redhat.com/errata/RHSA-2026:28247 advisory
- https://alas.aws.amazon.com/AL2/ALAS-2026-3366.html advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-6019 advisory
- https://alas.aws.amazon.com/AL2/ALAS-2026-3826.html advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-11972 advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-1774.html advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-7210 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-5713 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-1502 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-13462 advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-1785.html advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-1786.html advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-1821.html advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-2297 advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-1832.html advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-6019 advisory
- https://security-tracker.debian.org/tracker/CVE-2026-6019 advisory
- https://mail.python.org/archives/list/security-announce@python.org/thread/IVNWGV2BBNC3RHQAFS22UP4DY56SAXX3/ advisory