CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-71850

CVE-2026-71850: Server-Side Rendering Data Exposure in Hono JSX Memoization

Amit Schendel
Amit Schendel
Senior Security Researcher

Aug 7, 2026·6 min read·60 visits

Executive Summary (TL;DR)

A session isolation flaw in Hono's JSX SSR engine caches rendered HTML globally when using the `memo()` utility. This causes the framework to serve cached data (including CSRF tokens and user profile details) belonging to previous users to subsequent visitors when components are rendered with identical props.

A session data exposure vulnerability in the Hono web application framework (hono/jsx module) allows consecutive users to receive cached HTML outputs containing private data. When JSX components wrapped in `memo()` are rendered on the server, the caching mechanism utilizes a module-level closure that persists across independent HTTP requests. When subsequent requests occur with matching props, the components are not re-evaluated, and cached HTML is served. If these components read request-scoped or session-specific data via ambient APIs, the data of the first user is exposed to subsequent users.

Vulnerability Overview

CVE-2026-71850 is a session data exposure vulnerability in Hono, a lightweight Web application framework designed for JavaScript runtimes including Node.js, Bun, Deno, and Cloudflare Workers. The security flaw is located in the Server-Side Rendering (SSR) engine under the hono/jsx module. Specifically, the memo() utility incorrectly caches server-side rendered HTML output using module-level closures.

Because developers typically declare JSX components at the module level, the closures encapsulating cached results persist across multiple independent HTTP requests on a warm application instance. When subsequent requests render the same component with identical props, the framework serves the cached HTML output from the initial execution. If the component retrieves request-scoped or session-specific data via ambient APIs, the reads are bypassed, exposing private data from previous sessions to subsequent users.

This flaw represents a severe breakdown in session isolation, classified under CWE-488 (Exposure of Data Element to Wrong Session). It affects all deployments using Hono's native JSX engine with server-side rendering where the memo() wrapper is applied to components containing dynamic, request-dependent data.

Root Cause Analysis

The root cause of CVE-2026-71850 lies in the state-management design of the memo() wrapper function within the hono/jsx implementation. In standard client-side virtual DOM implementations, component memoization is tied to the component instance in the client's browser, posing no risk of cross-user data leakage. However, when executed on a server under a multi-tenant paradigm, global caching mechanisms must maintain strict request isolation.

In the vulnerable implementation in src/jsx/base.ts, the memo() wrapper utilized local closure variables, specifically computed to store the rendered JSX tree and prevProps to store the props evaluated during the last render. Because the component definition itself is initialized once during module loading, these variables remain warm in memory across successive HTTP transactions handled by the same server thread or serverless execution container.

When a new HTTP request triggers the rendering of a component wrapped in memo(), the framework performs a shallow equality comparison between the previous props and current props. If the props match, the framework immediately returns the cached computed value, omitting component re-evaluation. While this behavior is safe for pure components, it creates a critical flaw if the component reads ambient state, such as JSX Context, Hono Context Storage via AsyncLocalStorage, or HTTP request metadata, as these dynamic lookups are completely bypassed.

Code Analysis

The vulnerable implementation in src/jsx/base.ts highlights the incorrect application of persistent state within server-side environments. The following snippet illustrates how the framework cached virtual DOM elements within a module-scoped closure:

// Vulnerable Implementation in Hono < 4.12.34
export const memo = <T>(
  component: FC<T>,
  propsAreEqual: (prevProps: Readonly<T>, nextProps: Readonly<T>) => boolean = shallowEqual
): FC<T> => {
  let computed: ReturnType<FC<T>> = null
  let prevProps: T | undefined = undefined
  const wrapper: MemorableFC<T> = ((props: T) => {
    if (prevProps && !propsAreEqual(prevProps, props)) {
      computed = null
    }
    prevProps = props
    return (computed ||= component(props))
  }) as MemorableFC<T>
  return wrapper
}

To resolve this issue, the maintainers modified the memo() wrapper to act as a pass-through function during server-side execution. The patch eliminates the persistent storage of computed and prevProps within the closure:

// Patched Implementation in Hono v4.12.34
export const memo = <T>(
  component: FC<T>,
  propsAreEqual: (prevProps: Readonly<T>, nextProps: Readonly<T>) => boolean = shallowEqual
): FC<T> => {
  const wrapper: MemorableFC<T> = ((props: T) => component(props)) as MemorableFC<T>
  return wrapper
}

This modification ensures that memo() behaves as a no-op during server-side rendering, guaranteeing that every component evaluates dynamically on each HTTP request while preserving client-side DOM reconciliation behavior.

Exploitation Vector

Exploitation of CVE-2026-71850 does not require malicious payloads or active injection techniques. Instead, it relies on concurrent user interaction and request order timing. The following sequence demonstrates how session leak occurs in a production setting:

To trigger the data exposure, User A and User B must route their HTTP requests to the same physical node or container instance. If both requests invoke a memo() wrapped component with matching props (such as empty props {} in a navigation bar or dashboard header), User B receives the exact HTML structure generated for User A, including sensitive data such as anti-CSRF tokens, email addresses, or account balances.

Impact Assessment

The security impact of CVE-2026-71850 is rated Medium, with a CVSS v3.1 score of 4.8. The vector string is CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N. Although the consequence is high-severity confidentiality loss, several conditions affect the exploitability index.

First, the attack complexity is high because exploitation depends on routing state and concurrency. The targets must access the same warm instance consecutively, and the component's props must satisfy the equality check. Second, privileges are categorized as Low because the victim and the attacker must typically be authenticated users accessing customized sections of the site.

The concrete consequence is the exposure of request-scoped context state. In high-concurrency systems using Hono Context Storage (AsyncLocalStorage) to carry sensitive identifiers such as session IDs, API tokens, database connection states, or personal identifiable information (PII), this leak represents a complete bypass of multi-tenant boundaries. Exposed anti-CSRF tokens can subsequently be used to compromise the integrity of victim accounts.

Remediation & Defensive Guidance

The definitive mitigation for CVE-2026-71850 is upgrading the Hono framework to version 4.12.34 or higher. This update removes stateful memoization closures on the server side entirely.

If immediate upgrading is not feasible, developers must implement one of the following manual remediations:

  1. Eliminate Server-Side memo() usage: Audit the codebase and remove the memo() wrapper from any components that render server-side. Components rendering dynamic layouts should evaluate on every cycle.

  2. Pass Context via Explicit Props: If memo() must be used, refactor the component to avoid reading from ambient contexts (useContext(), useRequestContext(), or getContext()). All user-specific data must be passed down as props so that changes in user state trigger a mismatch in the propsAreEqual check, forcing cache invalidation.

Technical Appendix

CVSS Score
4.8/ 10
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N

Affected Systems

Hono applications using server-side rendering (SSR) with hono/jsx
AttributeDetail
CWE IDCWE-488 (Exposure of Data Element to Wrong Session)
Attack VectorNetwork
CVSS Score4.8 (Medium)
EPSS ScoreN/A
Exploit StatusProof-of-Concept
Affected Versions>= 3.8.0, < 4.12.34
ImpactInformation Disclosure (Request-scoped data, CSRF tokens)
CWE-488
Exposure of Data Element to Wrong Session

The product associates a data element with the wrong session, making it available to another session.

References & Sources

  • [1]Hono Security Advisory GHSA-f23p-vx2j-j53r
  • [2]Official Fix Commit
  • [3]Hono v4.12.34 Release Notes

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•35 minutes ago•CVE-2026-118748
7.5

CVE-2026-118748: Unbounded Memory Allocation Denial of Service in ASP.NET Core Blazor Static-SSR

CVE-2026-118748 is a remote Denial of Service (DoS) vulnerability in Microsoft ASP.NET Core (.NET 11.0 preview releases prior to 11.0.0) and Microsoft Visual Studio 2026 (prior to 18.12.0). The flaw originates from unbounded resource allocation (CWE-770) within the Blazor static server-side rendering (static-SSR) validation pipeline, where dynamic or attacker-supplied form field identifiers are cached in a singleton-scoped memory structure without size limits or eviction policies. Unauthenticated remote attackers can exploit this condition over the network by sending repeated HTTP requests with unique field names, exhausting heap memory and terminating the host process via an unhandled OutOfMemoryException.

Alon Barad
Alon Barad
2 views•9 min read
•about 2 hours ago•CVE-2026-114150
5.9

CVE-2026-114150: Remote Information Disclosure via Uninitialized Pooled Memory in ASP.NET Core Response Buffering

CVE-2026-114150 is a network-accessible information disclosure vulnerability affecting Microsoft ASP.NET Core in .NET 11.0 preview releases and Microsoft Visual Studio 2026 prior to version 18.12.0. The flaw stems from the use of uninitialized resources (CWE-908) within response buffering components, specifically ResponseBufferingStream used by middleware such as HTTP Logging and Output Caching. Because rented memory segments from ArrayPool<byte> or MemoryPool<byte> are not cleared upon return or strictly bounded to the exact written byte count during subsequent reads, residual response payloads from earlier HTTP requests remain in the buffer tail. Downstream consumers or log sinks reading these buffers expose confidential cross-session data, including authentication tokens and personally identifiable information.

Amit Schendel
Amit Schendel
2 views•11 min read
•about 3 hours ago•CVE-2026-114146
9.0

CVE-2026-114146: Elevation of Privilege in ASP.NET Core SignalR Connection Dispatcher

An incorrect authorization vulnerability (CWE-863) exists in the ASP.NET Core SignalR HTTP Connection Dispatcher (`Microsoft.AspNetCore.Http.Connections`). The connection negotiation process failed to bind the authenticated caller identity to the generated connection state, and subsequent transport or message dispatch handlers failed to verify caller consistency. Consequently, an authenticated low-privilege attacker who obtains a valid connection identifier or token can inject messages into or hijack another user's SignalR session, achieving an elevation of privilege across security boundaries.

Alon Barad
Alon Barad
5 views•11 min read
•about 4 hours ago•CVE-2026-109478
7.5

CVE-2026-109478: Algorithmic Complexity Denial of Service in ASP.NET Core Header Parsing

CVE-2026-109478 is a network-accessible Denial of Service (DoS) vulnerability in ASP.NET Core caused by inefficient algorithmic complexity (CWE-407) when parsing comma-separated HTTP request headers. Prior to the patch, the internal helper method ParsingHelpers.GetHeaderSplit repeatedly called StringValues.Concat inside a loop iterating over each comma-separated token. Because StringValues allocates a new array of size k + 1 and copies all existing elements upon each concatenation, processing N tokens incurs O(N^2) time and space complexity. An unauthenticated remote attacker can send HTTP requests with headers containing thousands of short, comma-separated values to exhaust CPU cycles and induce severe Garbage Collection (GC) pauses, rendering the web application unresponsive.

Alon Barad
Alon Barad
6 views•11 min read
•about 5 hours ago•CVE-2026-114147
7.5

CVE-2026-114147: Denial of Service via Memory Leak in ASP.NET Core SignalR Redis Backplane

CVE-2026-114147 is a high-severity Denial of Service (DoS) vulnerability affecting ASP.NET Core and specifically the Microsoft.AspNetCore.SignalR.StackExchangeRedis scale-out provider across .NET 8.0, 9.0, 10.0, and 11.0 preview releases. The vulnerability originates from a string comparison mismatch between internal per-connection group collections and the centralized Redis channel subscription registry, compounded by a race condition during connection teardown. Remote unauthenticated attackers can exploit this flaw to leave orphaned connection contexts and active Redis pub/sub listeners pinned in memory, leading to unbounded memory exhaustion and application process termination.

Amit Schendel
Amit Schendel
3 views•10 min read
•about 6 hours ago•CVE-2026-114156
6.5

CVE-2026-114156: Path Equivalence Security Feature Bypass in Microsoft ASP.NET Core

CVE-2026-114156 is an improper resolution of path equivalence vulnerability (CWE-41) in Microsoft ASP.NET Core affecting .NET 11.0 preview releases and Microsoft Visual Studio 2026. The vulnerability stems from a discrepancy between how path prefix validation helpers (such as PathString.StartsWithSegments) and downstream routing mechanisms handle alternate path separators and percent-encoded characters. An unauthenticated remote attacker can exploit this mismatch over the network to bypass path-based authorization middleware and access restricted endpoints.

Amit Schendel
Amit Schendel
5 views•8 min read