CVE-2026-6019CWE-150

BaseCookie.js_output() does not neutralize embedded characters

Low · published April 22, 2026

CVSS v4.0
2.1
EPSS
0%
Percentile
10.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
2.1 · LOW
Vector
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
EPSS
0.00211 · 10.8th percentile
Weakness
CWE-150 · Improper Neutralization of Escape, Meta, or Control Sequences
Published
2026-04-22T19:28Z
EPSS history
Timeline
  • 22 APR 19:28Z
    BaseCookie.js_output() does not neutralize embedded characters
    cvelistv5