CVE-2026-6019

medium Red Hat
CVSS v3 Base Score
6.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS Score
0.0%
Exploitation probability in 30 days
Top 91% most likely to be exploited
Attack Characteristics
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Confidentiality
High
Integrity
High
Availability
None
Published: April 22, 2026 (78 days ago)
Last Modified: April 22, 2026
Vendor: Red Hat
Source: REDHAT

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.

CWE

CWE-79

Affected Products

Red Hat Enterprise Linux 10Red Hat Enterprise Linux 6Red Hat Enterprise Linux 7Red Hat Enterprise Linux 8Red Hat Enterprise Linux 9Red Hat Enterprise Linux AI (RHEL AI) 3Red Hat Hardened ImagesRed Hat OpenShift AI (RHOAI)Red Hat OpenShift Dev Spaces

References

inside the generated script element. Mitigation base64-encodes the cookie value to disallow escaping using cookie value.","publishedDate":"2026-04-22T19:28:08Z","lastModifiedDate":"2026-04-22T19:28:08Z","cweId":"CWE-79","references":["https://bugzilla.redhat.com/show_bug.cgi?id=2460869","https://www.cve.org/CVERecord?id=CVE-2026-6019","https://nvd.nist.gov/vuln/detail/CVE-2026-6019","https://github.com/python/cpython/commit/76b3923d688c0efc580658476c5f525ec8735104","https://github.com/python/cpython/issues/90309"],"affectedProducts":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux AI (RHEL AI) 3","Red Hat Hardened Images","Red Hat OpenShift AI (RHOAI)","Red Hat OpenShift Dev Spaces"],"fixAvailable":null,"cisaKev":null,"cisaKevDateAdded":null,"cisaKevDueDate":null,"cisaKevRansomware":null,"source":"redhat","epssScore":0.00031,"epssPercentile":0.09445} inside the gene","datePublished":"2026-04-22T19:28:08Z","author":{"@type":"Organization","name":"Red Hat"},"publisher":{"@type":"Organization","name":"CyberWatcher"}}