OSV 1.4.0 · github-reviewed · 修改于 2026-07-22 02:34
发布时间
2026-07-22 02:34
GitHub 审查时间
2026-07-22 02:34
NVD 发布时间
2026-07-09 01:17
源文件
advisories/github-reviewed/2026/07/GHSA-hvrm-45r6-mjfj/GHSA-hvrm-45r6-mjfj.json
hono/jsx did not isolate context values per request during server-side rendering. While an async component was suspended on await, its provided context value stayed observable to other requests rendering concurrently, so useContext() could return a value from a different in-flight request.
During server-side rendering, context values were kept in a process-wide structure rather than scoped to each request's render. While an async component awaited, another request entering the same provider could observe or replace the value; when the first render resumed, it could read the other request's context.
This affects the usual ways request-scoped data is passed through a server-rendered JSX tree:
createContext() / useContext()jsxRenderer middleware and useRequestContext()It arises only when context is read after an await inside an async component while requests render concurrently. Reading context synchronously (before any await), purely synchronous rendering, and client-side (DOM) rendering are not affected.
Under concurrent requests, a response could be rendered with another request's context. A user may receive HTML rendered for a different user, and an authorization check performed after an await may be evaluated against another user's data.
This may lead to: