CVE-2026-6019: CWE-150 Improper neutralization of escape, meta, or control sequences in Python Software Foundation CPython
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.
AI Analysis
Technical Summary
Red Hat issued a security advisory (RHSA-2026:22952) for Red Hat Hardened Images RPMs involving python3.14 packages. The update includes numerous python3.14 RPMs across architectures (aarch64, x86_64, noarch). The vulnerability CVE-2026-6019 is associated with CWE-79 (Cross-Site Scripting). The advisory does not explicitly state that a fix is available or provide patch links, nor does it mention known exploits in the wild. The update is described as a bug fix and enhancement update but lacks detailed remediation instructions.
Potential Impact
The vulnerability is classified as medium severity and relates to CWE-79, indicating a potential Cross-Site Scripting issue. This could allow an attacker to inject malicious scripts if exploited, potentially impacting the security of applications relying on the affected python3.14 RPMs within Red Hat Hardened Images. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The advisory references an update including new RPM versions but does not explicitly confirm that these updates fix the vulnerability. Users should monitor Red Hat's official errata and security advisory pages for the availability of patches and apply updates as recommended by Red Hat once confirmed.
CVE-2026-6019: CWE-150 Improper neutralization of escape, meta, or control sequences in Python Software Foundation CPython
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.
CVSS v4.0
Score 2.1low
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Red Hat issued a security advisory (RHSA-2026:22952) for Red Hat Hardened Images RPMs involving python3.14 packages. The update includes numerous python3.14 RPMs across architectures (aarch64, x86_64, noarch). The vulnerability CVE-2026-6019 is associated with CWE-79 (Cross-Site Scripting). The advisory does not explicitly state that a fix is available or provide patch links, nor does it mention known exploits in the wild. The update is described as a bug fix and enhancement update but lacks detailed remediation instructions.
Potential Impact
The vulnerability is classified as medium severity and relates to CWE-79, indicating a potential Cross-Site Scripting issue. This could allow an attacker to inject malicious scripts if exploited, potentially impacting the security of applications relying on the affected python3.14 RPMs within Red Hat Hardened Images. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The advisory references an update including new RPM versions but does not explicitly confirm that these updates fix the vulnerability. Users should monitor Red Hat's official errata and security advisory pages for the availability of patches and apply updates as recommended by Red Hat once confirmed.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2026:22952
- Cve Count
- 1
- Additional Cves
- []
- Cvss Version
- null
Threat ID: 6a2a7b429e049e7b7ee8cde6
Added to database: 6/11/2026, 9:09:22 AM
Last enriched: 6/11/2026, 9:10:05 AM
Last updated: 6/11/2026, 5:17:40 PM
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.