Skip to content
OpenAdvisories
Medium · 4.8 CVE-2026-71850 EUVD-2026-54580GHSA-f23p-vx2j-j53r

Hono: `memo()` retains SSR output across requests, leading to cross-user data disclosure

Published Aug 7, 2026 · Updated Aug 10, 2026 · Assigned by GitHub_M

Description

Hono is a Web application framework that provides support for any JavaScript runtime. From 3.8.0 to 4.12.33, memo() from hono/jsx retains the result of a server side render and reuses it for later renders with comparator equal props, and request scoped values read inside the component take no part in that comparison, so a response can contain HTML rendered for another user's request. Components wrapped with memo() are compared by props alone; values read implicitly during rendering, such as JSX Context through createContext() and useContext(), useRequestContext() from hono/jsx-renderer, and getContext() from hono/context-storage, do not participate, and the retained result lives as long as the wrapped component, so it outlives the request that produced it. A user may receive a response containing HTML rendered for another user when both render the same memoized component with comparator equal props on the same warm instance, which may disclose another user's account or profile data, disclose request scoped secrets embedded in HTML such as CSRF tokens, or expose role specific content to users who should not receive it. This issue is fixed in version 4.12.34.

Affected products

VendorProductAffectedFixed
honojs hono >= 3.8.0, < 4.12.34 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling langfuse-3-compat 3.225.7-r6 —
Wolfi rolling langfuse-3-worker 3.225.1-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm hono >= 3.8.0, < 4.12.34 4.12.34 GHSA-f23p-vx2j-j53r

Advisories 1

References