<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sun, 04 Oct 2026 18:06:07 +0000</lastBuildDate>
    <item>
      <title>GHSA-r5rp-j6wh-rvv4 — Hono: Non-breaking space prefix bypass in cookie name handling in getCookie()</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-r5rp-j6wh-rvv4</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: hono&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;A discrepancy between browser cookie parsing and `parse()` handling allows cookie prefix protections to be bypassed.&lt;/p&gt;
&lt;p&gt;Cookie names that are treated as distinct by the browser may be normalized to the same key by `parse()`, allowing attacker-controlled cookies to override legitimate ones.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;Browsers follow RFC 6265bis and only trim SP (`0x20`) and HTAB (`0x09`) from cookie names. Other characters, such as the non-breaking space (`U+00A0`), are preserved as part of the cookie name.&lt;/p&gt;
&lt;p&gt;For example, the browser treats the following cookies as distinct:&lt;/p&gt;
&lt;p&gt;```
&amp;#34;dummy-cookie&amp;#34;
&amp;#34;\u00a0dummy-cookie&amp;#34;
```&lt;/p&gt;
&lt;p&gt;However, `parse()` previously used JavaScript&amp;#39;s `trim()`, which removes a broader set of characters including `U+00A0`. As a result, both names are normalized to:&lt;/p&gt;
&lt;p&gt;```
&amp;#34;dummy-cookie&amp;#34;
```&lt;/p&gt;
&lt;p&gt;This mismatch allows attacker-controlled cookies with a `U+00A0` prefix to shadow or override legitimate cookies when accessed via `getCookie()`.&lt;/p&gt;
&lt;p&gt;## Impact&lt;/p&gt;
&lt;p&gt;An attacker who can set cookies (e.g., via a man-in-the-middle on a non-secure page or other injection vector) can bypass cookie prefix protections and override sensitive cookies.&lt;/p&gt;
&lt;p&gt;This may lead to:&lt;/p&gt;
&lt;p&gt;* Bypassing `__Secure-` and `__Host-` prefix protections
* Overriding cookies that rely on the Secure attribute
* Session fixation or session hijacking depending on application usage&lt;/p&gt;
&lt;p&gt;This issue affects applications that rely on `getCookie()` for security-sensitive cookie handling.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: hono&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;A discrepancy between browser cookie parsing and `parse()` handling allows cookie prefix protections to be bypassed.&lt;/p&gt;
&lt;p&gt;Cookie names that are treated as distinct by the browser may be normalized to the same key by `parse()`, allowing attacker-controlled cookies to override legitimate ones.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;Browsers follow RFC 6265bis and only trim SP (`0x20`) and HTAB (`0x09`) from cookie names. Other characters, such as the non-breaking space (`U+00A0`), are preserved as part of the cookie name.&lt;/p&gt;
&lt;p&gt;For example, the browser treats the following cookies as distinct:&lt;/p&gt;
&lt;p&gt;```
&amp;#34;dummy-cookie&amp;#34;
&amp;#34;\u00a0dummy-cookie&amp;#34;
```&lt;/p&gt;
&lt;p&gt;However, `parse()` previously used JavaScript&amp;#39;s `trim()`, which removes a broader set of characters including `U+00A0`. As a result, both names are normalized to:&lt;/p&gt;
&lt;p&gt;```
&amp;#34;dummy-cookie&amp;#34;
```&lt;/p&gt;
&lt;p&gt;This mismatch allows attacker-controlled cookies with a `U+00A0` prefix to shadow or override legitimate cookies when accessed via `getCookie()`.&lt;/p&gt;
&lt;p&gt;## Impact&lt;/p&gt;
&lt;p&gt;An attacker who can set cookies (e.g., via a man-in-the-middle on a non-secure page or other injection vector) can bypass cookie prefix protections and override sensitive cookies.&lt;/p&gt;
&lt;p&gt;This may lead to:&lt;/p&gt;
&lt;p&gt;* Bypassing `__Secure-` and `__Host-` prefix protections
* Overriding cookies that rely on the Secure attribute
* Session fixation or session hijacking depending on application usage&lt;/p&gt;
&lt;p&gt;This issue affects applications that rely on `getCookie()` for security-sensitive cookie handling.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-r5rp-j6wh-rvv4</guid>
    </item>
  </channel>
</rss>
