Skip to main content
VulnerabilityPublished Updated

CVE-2026-6019: http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-6019· Low 2.1

Not known to be exploited · CVSS 2.1 Low · fixed in 3.15.0b1 : update CPython when convenient.

Data as of 10 Nov 2026, 16:36 UTC

CVSS 4.0 base score
2.1Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (PSF)CVSS 4.02.1
Patch
Available – fixed in 3.15.0b1, 3.14.5rc1, 3.13.14
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.

What to do

Upgrade CPython to 3.15.0b1, 3.14.5rc1 or 3.13.14.

Affected software

ProductAffectedFixed in
Python Software FoundationCPythonAffected
  • >=3.15.0a1 <3.15.0b1
Fixed in
  • 3.15.0b1
Python Software FoundationCPythonAffected
  • >=3.14.0a1 <3.14.5rc1
Fixed in
  • 3.14.5rc1
Python Software FoundationCPythonAffected
  • <3.13.14
Fixed in
  • 3.13.14
PyPIcpythonpkg:pypi/cpythonOther threatsAffected
  • =3.14.0
  • =3.15.0
Fixed in–
GitHubCPythonpkg:github/CPythonOther threatsAffected
  • <3.13.14
  • >=3.14.0a1 <3.14.5rc1
  • >=3.15.0a1 <3.15.0b1
Fixed in
  • 3.13.14
  • 3.14.5rc1
  • 3.15.0b1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…