CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

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.

Score
2.1 low
Published
2026-04-22
Links
NVD · cve.org

Affected ports (5)

PortPackageVersionStatusMaintainer
lang/linux-rl9-python3linux-rl9-python393.9.25unaddressedemulation@FreeBSD.org
lang/python27python272.7.18_5unaddressedpython@FreeBSD.org
lang/python311python3113.11.17unaddressedpython@FreeBSD.org
lang/python312python3123.12.15unaddressedpython@FreeBSD.org
lang/python315python3153.15.0unaddressedpython@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>