An open index of dependabot pull requests across open source projects.

Hono: Non-breaking space prefix bypass in cookie name handling in getCookie()

RSS Feed MODERATE
GHSA-r5rp-j6wh-rvv4 CVE-2026-39410
Description:

Summary

A discrepancy between browser cookie parsing and parse() handling allows cookie prefix protections to be bypassed.

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.

Details

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.

For example, the browser treats the following cookies as distinct:

"dummy-cookie"
"\u00a0dummy-cookie"

However, parse() previously used JavaScript's trim(), which removes a broader set of characters including U+00A0. As a result, both names are normalized to:

"dummy-cookie"

This mismatch allows attacker-controlled cookies with a U+00A0 prefix to shadow or override legitimate cookies when accessed via getCookie().

Impact

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.

This may lead to:

  • Bypassing __Secure- and __Host- prefix protections
  • Overriding cookies that rely on the Secure attribute
  • Session fixation or session hijacking depending on application usage

This issue affects applications that rely on getCookie() for security-sensitive cookie handling.

Affected Packages
Ecosystem Package Vulnerable Versions Patched Version
npm hono < 4.12.12
4.12.12
Related Dependabot Pull Requests
deps(deps): bump the security-patches group across 4 directories with 2 updates
Open 14 days ago
VeVarunSharma/contoso-vibe-engineering #303
npm:drizzle-orm npm:hono
VeVarunSharma
chore(deps): bump the npm_and_yarn group across 11 directories with 24 updates
Open 15 days ago
GlacierEQ/langgraphjs #6
npm:axios npm:vite +20 more
GlacierEQ
deps(deps): bump the security-patches group across 4 directories with 2 updates
Closed 15 days ago
VeVarunSharma/contoso-vibe-engineering #296
npm:drizzle-orm npm:hono
VeVarunSharma
build(deps): Bump the npm_and_yarn group across 1 directory with 15 updates
Closed 15 days ago
you112ef/knet-mock-pay-06 #17
npm:react-router npm:vite +12 more
you112ef
chore(deps): bump the npm_and_yarn group across 5 directories with 23 updates
Closed 15 days ago
nssuwan186-dev/ag-ui #35
npm:next npm:uuid +4 more
nssuwan186-dev
chore(deps): bump the npm_and_yarn group across 24 directories with 5 updates
Open 16 days ago
jadenblack/composio #101
npm:axios npm:uuid +2 more
jadenblack
Bump the npm_and_yarn group across 5 directories with 7 updates
Open 16 days ago
rshan1515/workers-sdk #19
npm:vite npm:undici +5 more
rshan1515
Bump the npm_and_yarn group across 4 directories with 9 updates
Closed 16 days ago
ANT0071/drizzle-orm #6
npm:rollup npm:uuid +4 more
ANT0071
build(deps): bump the npm_and_yarn group across 2 directories with 5 updates
Open 16 days ago
tsukasa-u/FUSOU #177
npm:astro npm:vite +3 more
tsukasa-u
chore(deps): bump the npm_and_yarn group across 9 directories with 8 updates
Closed 16 days ago
bluluvinn/x402 #16
npm:axios npm:vite +5 more
bluluvinn
chore(deps): Bump the npm_and_yarn group across 4 directories with 5 updates
Closed 17 days ago
ds1/pincerpay #110
npm:next npm:yaml +3 more
ds1
Bump the npm_and_yarn group across 4 directories with 7 updates
Open 17 days ago
rshan1515/workers-sdk #18
npm:vite npm:undici +5 more
rshan1515
chore(deps): bump the npm_and_yarn group across 15 directories with 10 updates
Closed 18 days ago
ANT0071/mastra #97
npm:axios npm:next +6 more
ANT0071
chore(deps): bump the npm_and_yarn group across 15 directories with 9 updates
Closed 18 days ago
xendit/mastra #101
npm:axios npm:next +5 more
xendit
Bump the npm_and_yarn group across 19 directories with 5 updates
Open 19 days ago
cloudflare/ai #520
npm:axios npm:postcss +3 more
cloudflare
Bump the npm_and_yarn group across 1 directory with 5 updates
Closed 20 days ago
canstralian/workers-for-platforms-template #1
npm:undici npm:esbuild +2 more
canstralian
Bump the npm_and_yarn group across 18 directories with 4 updates
Open 20 days ago
cloudflare/ai #514
npm:axios npm:postcss +2 more
cloudflare
deps(deps): bump the security-patches group across 3 directories with 2 updates
Open 21 days ago
VeVarunSharma/contoso-vibe-engineering #279
npm:drizzle-orm npm:hono
VeVarunSharma
chore(deps): Bump hono from 4.11.4 to 4.12.14
Closed 21 days ago
paveg/tailf #46
npm:hono
paveg
build(deps): bump the npm_and_yarn group across 9 directories with 9 updates
Closed 21 days ago
sc-shakyawijerathne/xmcloud-starter-js #77
npm:axios npm:next +4 more
sc-shakyawijerathne
chore(deps): bump the npm_and_yarn group across 1 directory with 5 updates
Closed 21 days ago
tenkumogroup/guildkit #71
npm:next npm:fast-xml-parser +3 more
tenkumogroup
build(deps): bump the npm_and_yarn group across 1 directory with 23 updates
Open 22 days ago
johnnycsv232/GettUppENTERPRISE #9
npm:vite npm:next +21 more
johnnycsv232
chore(deps): bump hono from 3.11.8 to 4.12.14 in the npm_and_yarn group across 1 directory
Closed 24 days ago
lmist/markmap #1
npm:hono
lmist
chore(deps): bump the npm_and_yarn group across 2 directories with 10 updates
Open 24 days ago
mdjahid11978-design/voltagent #7
npm:axios npm:yaml +6 more
mdjahid11978-design
chore(deps): bump the npm_and_yarn group across 4 directories with 11 updates
Closed 24 days ago
aknibircse/dokploy-serverless #31
npm:next npm:undici +7 more
aknibircse
build(deps): bump the npm_and_yarn group across 1 directory with 3 updates
Open 25 days ago
crisesarmiento/vision-total-ar #19
npm:next npm:hono +1 more
crisesarmiento
build(deps): bump the npm_and_yarn group across 2 directories with 5 updates
Open 25 days ago
clouet-remi/Projet-de-fin-de-formation---Blablabook- #4
npm:vite npm:next +3 more
clouet-remi
chore(deps): bump the npm_and_yarn group across 2 directories with 4 updates
Open 25 days ago
traceroot-ai/traceroot-ts #75
npm:hono npm:protobufjs +2 more
traceroot-ai
Bump hono from 4.11.5 to 4.12.14
Closed 25 days ago
krsjenmt/krsjen.ai #56
npm:hono
krsjenmt
build(deps): bump the npm_and_yarn group across 1 directory with 8 updates
Closed 26 days ago
jonmatum/serverless-second-brain #50
npm:vite npm:next +6 more
jonmatum
chore(deps): bump the npm_and_yarn group across 4 directories with 10 updates
Closed 26 days ago
aknibircse/dokploy-serverless #30
npm:next npm:undici +6 more
aknibircse
chore(deps): bump the npm_and_yarn group across 4 directories with 9 updates
Closed 26 days ago
paulpham157/dokploy #36
npm:next npm:undici +7 more
paulpham157
chore(deps): bump the npm_and_yarn group across 3 directories with 12 updates
Open 27 days ago
nexusct/moltbot #2
npm:vite npm:undici +8 more
nexusct
chore(deps): bump hono from 4.12.0 to 4.12.14
Open 27 days ago
bl1nk-bot/agent-library #24
npm:hono
bl1nk-bot
build(deps): bump the npm_and_yarn group across 1 directory with 12 updates
Closed 27 days ago
inthepocket/cookie-though #1243
npm:astro npm:vite +10 more
inthepocket
chore(deps): bump hono from 4.12.0 to 4.12.14
Open 27 days ago
Merfy-Dropshipping-Platform/merfy-islands #23
npm:hono
Merfy-Dropshipping-Platform
build(deps): bump the npm_and_yarn group across 2 directories with 10 updates
Open 28 days ago
google/perfetto #5518
npm:lodash npm:path-to-regexp +7 more
google
chore(deps): bump the all-minor-and-patch group across 1 directory with 24 updates
Open 28 days ago
TiM1113/FoodDelivery-AWS-Vercell #132
npm:vitest npm:@vitest/coverage-v8 +22 more
TiM1113
chore(deps): bump the npm_and_yarn group across 3 directories with 9 updates
Closed 28 days ago
conor-spec/goose #1
npm:vite npm:webpack +7 more
conor-spec
Bump the npm_and_yarn group across 1 directory with 3 updates
Closed 28 days ago
selfagency/teamdynamix-mcp #1
npm:vite npm:hono +1 more
selfagency
build(deps): bump hono from 4.12.0 to 4.12.14
Closed 28 days ago
HerbCaudill/briefings #4
npm:hono
HerbCaudill
chore(deps): bump the npm_and_yarn group across 1 directory with 5 updates
Open 28 days ago
klodr/gmail-mcp #5
npm:nodemailer npm:path-to-regexp +3 more
klodr
Bump hono from 4.11.7 to 4.12.14 in the npm_and_yarn group across 1 directory
Open 28 days ago
hashicorp-japan/terraform-workshop-jp #79
npm:hono
hashicorp-japan
chore(deps): Bump the backend-deps group across 1 directory with 7 updates
Closed 29 days ago
marylin/whateverops #61
npm:@supabase/supabase-js npm:resend +5 more
marylin
chore(deps): bump hono from 4.12.8 to 4.12.14
Open 29 days ago
dothackerman/ls-oneup #38
npm:hono
dothackerman
chore(deps): bump the minor-and-patch group across 1 directory with 12 updates
Closed 29 days ago
ComeOnOliver/skillshub #58
npm:@types/node npm:react-dom +10 more
ComeOnOliver
deps(deps): bump the production-dependencies group across 1 directory with 27 updates
Closed 29 days ago
italicninja/blog #195
npm:react-dom npm:next +14 more
italicninja
chore(deps): Bump hono from 4.6.0 to 4.12.14
Open 29 days ago
amynaff/my-lunar-phase #33
npm:hono
amynaff
chore(deps): bump hono from 4.12.9 to 4.12.14
Open 29 days ago
kweinmeister/hono-cars-api #13
npm:hono
kweinmeister
Bump hono from 4.11.1 to 4.12.14
Open 29 days ago
sk1b-yak/vite-react-template #2
npm:hono
sk1b-yak
Advisory Details
Published: April 08, 2026 about 1 month ago
Updated: May 11, 2026 8 days ago
CVSS Score: 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS: 0.03% 9th percentile
Source: Github
Classification: GENERAL
UUID: GSA_kwCzR0hTQS1yNXJwLWo2d2gtcnZ2NM4ABU3p
PR Statistics
PR Status
Open 563 (43.7%)
Merged 0 (0.0%)
Closed 724 (56.3%)
Update Types
Major 151 (5.0%)
Minor 1175 (39.1%)
Patch 1665 (55.4%)