CVE details
CVE-2026-6019
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.
Affected ports (5)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| lang/linux-rl9-python3 | linux-rl9-python39 | 3.9.25 | unaddressed | emulation@FreeBSD.org |
| lang/python27 | python27 | 2.7.18_5 | unaddressed | python@FreeBSD.org |
| lang/python311 | python311 | 3.11.17 | unaddressed | python@FreeBSD.org |
| lang/python312 | python312 | 3.12.15 | unaddressed | python@FreeBSD.org |
| lang/python315 | python315 | 3.15.0 | unaddressed | python@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>linux-rl9-python39</name>
<range><lt>3.13.14</lt></range>
</package>
<package>
<name>python27</name>
<range><lt>3.13.14</lt></range>
</package>
<package>
<name>python311</name>
<range><lt>3.13.14</lt></range>
</package>
<package>
<name>python312</name>
<range><lt>3.13.14</lt></range>
</package>
<package>
<name>python315</name>
<range><lt>3.13.14</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2026-6019</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-6019</url>
</references>
<dates>
<discovery>2026-04-22</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>