CVE-2026-6019
BaseCookie.js_output() does not neutralize embedded characters
Reported by psf · Published April 22, 2026
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 versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3.14-freethreading | Amazon Linux | 3.14.5-1.amzn2023.0.1 |
| python3.14-idle | errata.rockylinux.org | 3.14.5-1.el9, 3.14.5-1.el10 |
| python3.14-freethreading-test | errata.rockylinux.org | 3.14.5-1.el9, 3.14.5-1.el10 |
| python3.14-debug | errata.rockylinux.org | 3.14.5-1.el9, 3.14.5-1.el10 |
| python3.13-test | Amazon Linux | 3.13.13-1.amzn2023.0.3 |
| python3.14-freethreading-tkinter | errata.rockylinux.org | 3.14.5-1.el9, 3.14.5-1.el10 |
| python3.14-freethreading-libs | errata.rockylinux.org | 3.14.5-1.el9, 3.14.5-1.el10 |
| python3.14-debugsource | errata.rockylinux.org | 3.14.5-1.el9, 3.14.5-1.el10 |
| python3.12-libs | Amazon Linux | 3.12.13-2.amzn2023.0.2 |
| python3.14-tkinter | errata.rockylinux.org | 3.14.5-1.el9, 3.14.5-1.el10 |
| python3.12-devel | Amazon Linux | 3.12.13-2.amzn2023.0.2 |
| python3.14-freethreading-devel | errata.rockylinux.org | 3.14.5-1.el10 |
40 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Python Software Foundation | CPython | 0, 3.14.0a1, 3.15.0a1 |
| amazon:2023 | python3.14-freethreading | 0 |
| amazon:2023 | python3.13-test | 0 |
| amazon:2023 | python3.12-libs | 0 |
| amazon:2023 | python3.12-devel | 0 |
| amazon:2 | tkinter | 0 |
| amazon:2023 | python3-devel | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | 3.1.7 |
| amazon:2 | python3 | 0 |
| amazon:2 | python-libs | 0 |
| amazon:2023 | python3.14-freethreading-devel | 0 |
| amazon:2023 | python3.13-freethreading | 0 |
| amazon:2023 | python3.12 | 0 |
| amazon:2023 | python3.12-debug | 0 |
| amazon:2 | python3-tkinter | 0 |
| amazon:2023 | python3.11-debug | 0 |
| amazon:2023 | python3-idle | 0 |
| amazon:2023 | python3.13-debug | 0 |
| amazon:2 | python-test | 0 |
| amazon:2023 | python3.13-freethreading-debug | 0 |
…and 52 more
Timeline
- Apr 22, 2026 CVE Published
- Apr 23, 2026 EPSS Score (30 in total, the first dated here)
- Apr 23, 2026 Security Advisory (4 in total, the first dated here)
- Jun 24, 2026 Distribution Patch (5 in total, the first dated here)
- Jul 16, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-6019
vulnetix vdb fixes CVE-2026-6019
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-6019/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- patch
- issue-tracking
- vendor-advisory
- patch
- patch
- patch
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html url