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-108261

CVE-2026-108261: Admin Preview Cross-Origin Bypass and GraphQL Hijacking in TinaCMS

Alon Barad
Alon Barad
Software Engineer

Oct 10, 2026·5 min read·17 visits

Executive Summary (TL;DR)

TinaCMS admin preview dynamically loaded external origins from hash routing parameters and trusted postMessage traffic from those origins, allowing remote attackers to run arbitrary GraphQL operations on behalf of logged-in editors.

A critical origin validation flaw in TinaCMS admin preview allows unauthenticated attackers to bypass cross-origin postMessage checks and execute unauthorized GraphQL queries and mutations under an authenticated editor's context.

Vulnerability Overview

TinaCMS is an open-source headless Content Management System (CMS) that integrates real-time editing and content management features directly into React applications. A security flaw identified as CVE-2026-108261 exists in the admin preview routing interface of TinaCMS packages tinacms and @tinacms/app.

The vulnerability stems from insufficient validation of client-side routing parameters when constructing the embedded preview frame. When rendering the admin interface, the application extracts path information from the URL hash fragment and injects it into an <iframe> element intended to preview published or drafted content.

By crafting the hash fragment in a link, an unauthenticated remote attacker can force the host application to load an external, attacker-controlled origin into the preview frame while simultaneously trusting cross-origin postMessage requests from that frame.

Root Cause Analysis

The root cause of CVE-2026-108261 lies in two distinct implementation flaws: unsafe routing parameter prepending and dynamic self-referential origin determination for postMessage security.

In packages/tinacms/src/admin/index.tsx, the admin preview route uses React Router's splat parameter (params['*']) to set the source URL for the preview frame. The application originally initialized this source URL by prepending a single forward slash to the splat parameter: /${params['*']}. When an attacker provides leading slashes or backslashes in the hash fragment (such as #/~//attacker.com), string concatenation converts the relative path into a protocol-relative absolute URL (//attacker.com).

Simultaneously, packages/@tinacms/app/src/lib/preview-origin.ts implemented getExpectedPreviewOrigin, which extracted the expected postMessage origin directly from the iframe URL itself. When the iframe source was set to //attacker.com, new URL('//attacker.com', baseOrigin).origin resolved to https://attacker.com. As a result, the admin GraphQL reducer set its expected communication origin to https://attacker.com, accepting arbitrary administrative GraphQL read and write requests initiated by the external page.

Code Analysis & Patch Mechanics

To remediate the vulnerability, commit b57dbf4b56201aef15cd92caa49fd12ab96bbecf refactored origin determination and added strict path resolution checks.

In @tinacms/app, getExpectedPreviewOrigin was removed and replaced with getPreviewOrigin(), enforcing that the expected frame origin strictly matches window.location.origin without inspecting the target iframe URL:

// packages/@tinacms/app/src/lib/preview-origin.ts
// Patched implementation enforcing static origin trust
export const getPreviewOrigin = (): string =>
  typeof window !== 'undefined' ? window.location.origin : '';

In packages/tinacms/src/admin/preview-url.ts, the developer implemented resolvePreviewPath to perform double-pass resolution validation using native URL objects. This prevents protocol-relative bypasses, backslashes, leading tabs, and path traversal tricks:

// packages/tinacms/src/admin/preview-url.ts
export function resolvePreviewPath(
  splat: string | undefined,
  baseOrigin: string = typeof window !== 'undefined' ? window.location.origin : ''
): { path: string; offOrigin: boolean } {
  if (!baseOrigin || !splat) {
    return { path: '/', offOrigin: false };
  }
  try {
    const resolved = new URL(`/${splat}`, baseOrigin);
    if (resolved.origin !== baseOrigin) {
      return { path: '/', offOrigin: true };
    }
    const path = `${resolved.pathname}${resolved.search}${resolved.hash}`;
    // Second pass catches path normalization tricks like ..//
    if (new URL(path, baseOrigin).origin !== baseOrigin) {
      return { path: '/', offOrigin: true };
    }
    return { path, offOrigin: false };
  } catch {
    return { path: '/', offOrigin: true };
  }
}

Exploitation Methodology

Exploitation requires an unauthenticated attacker to distribute a malicious link to an authenticated CMS editor. The link targets the host application's admin route with a protocol-relative URL in the hash parameter.

When the authenticated victim navigates to https://admin.example.com/#/~//attacker.com, the React Router splat parameter captures //attacker.com. The unpatched code sets the iframe src to //attacker.com, forcing the victim's browser to load the attacker's web page inside the TinaCMS admin interface.

The attacker's hosted page sends cross-window messages via window.parent.postMessage(). Because getExpectedPreviewOrigin dynamically adopted https://attacker.com as its expected origin, the parent window's GraphQL message handler accepts the incoming payload and executes arbitrary queries or mutations using the editor's active session context.

Impact & Risk Assessment

CVE-2026-108261 carries a CVSS v3.1 score of 9.3 (Critical) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N. The primary security scope change occurs because an external cross-origin iframe is granted administrative access to the primary host application's GraphQL communication channel.

Successful exploitation allows the attacker to read, modify, or delete any content managed by the CMS instance. The attacker can execute arbitrary GraphQL mutations to alter site structure, inject malicious code into published posts, or extract confidential operational data.

While the attack requires user interaction (a logged-in editor clicking a link), it requires zero initial privileges on the CMS. No direct system infrastructure denial of service is accomplished through this specific vulnerability.

Remediation Guidance

To eliminate the vulnerability, organizations must update affected npm packages to fixed releases. The patch is available in tinacms version 3.14.0 and @tinacms/app version 2.5.14.

Update dependencies using the appropriate package manager command:

npm install tinacms@3.14.0 @tinacms/app@2.5.14

In addition to updating dependencies, security teams should monitor Web Application Firewall (WAF) or web server access logs for anomalous request patterns in hash fragments, specifically looking for double forward slashes (/#/~//) or backslashes (/#/~/\) within the admin URI paths.

Official Patches

TinaCMSPull request resolving preview origin checking and path resolution logic.
TinaCMSFix commit implementing static window.location.origin checks.

Fix Analysis (1)

Technical Appendix

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

Affected Systems

tinacms npm package prior to 3.14.0@tinacms/app npm package prior to 2.5.14

Affected Versions Detail

Product
Affected Versions
Fixed Version
tinacms
TinaCMS
< 3.14.03.14.0
@tinacms/app
TinaCMS
< 2.5.142.5.14
AttributeDetail
CVE IDCVE-2026-108261
CWE IDCWE-346 (Origin Validation Error)
CVSS v3.19.3 (Critical)
Attack VectorNetwork (Requires User Interaction)
ImpactFull Administrative GraphQL Read/Write Access
Exploit StatusProof of Concept / Public Advisory
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1566.002Spearphishing Link
Initial Access
CWE-346
Origin Validation Error

The software does not properly validate that the source of data or communication is valid.

Known Exploits & Detection

GitHub Security AdvisoryTechnical description of preview URL parameter manipulation and origin validation collapse.

References & Sources

  • [1]GHSA-x34j-47hf-4xg7 Security Advisory
  • [2]NVD Vulnerability Detail - CVE-2026-108261
  • [3]CVE.org Record CVE-2026-108261

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

•about 12 hours ago•CVE-2026-63402
5.9

CVE-2026-63402: Prototype-Chain Traversal and Shared Built-in Corruption in i18next

CVE-2026-63402 is a prototype-chain traversal and shared built-in object corruption vulnerability in the i18next internationalization framework for JavaScript prior to version 26.3.4. The flaw resides in the deepExtend utility function within src/utils.js, which uses the JavaScript 'in' operator to verify property existence on target objects. When an application passes untrusted resource bundles to i18next.addResourceBundle() with both the deep and overwrite parameters set to true, an attacker can traverse into inherited methods on Object.prototype and overwrite properties on shared built-in function objects, causing process-wide denial of service.

Amit Schendel
Amit Schendel
6 views•10 min read
•about 13 hours ago•CVE-2026-58262
7.1

CVE-2026-58262: BLS Signature Quorum Bypass via PubKeysBitmap Padding Bits in Klever-Go

CVE-2026-58262 (tracked internally as KLR-04 and via GitHub Security Advisory GHSA-f9h7-4mmq-vgcq) is a cryptographic verification and consensus quorum bypass vulnerability in Klever-Go (`klever-io/klever-go`), the Go implementation of the Klever blockchain protocol. Prior to version 1.7.20, the block header signature verification logic (`HeaderSigVerifier.verifyConsensusSize`) counts all set bits across the entire `PubKeysBitmap` byte slice toward the required two-thirds validator quorum without masking or validating unused trailing padding bits in the final byte. Because the underlying Boneh-Lynn-Shacham (BLS) multi-signature verification function (`blsMultiSigner.Verify`) iterates strictly over the indices of configured validator public keys, it ignores any bits set at indices beyond the active consensus group size. When the consensus group size is not an exact multiple of 8, a compromised or malicious block producer can set these unused trailing padding bits to artificially inflate the apparent signer count by up to 7 signatures, enabling blocks with fewer genuine validator signatures than required by the protocol to pass consensus validation.

Alon Barad
Alon Barad
3 views•14 min read
•about 14 hours ago•CVE-2026-77423
7.5

CVE-2026-77423: Regular Expression Denial of Service (ReDoS) in JLine Built-in Less Viewer

CVE-2026-77423 is a Regular Expression Denial of Service (ReDoS) vulnerability in the built-in less viewer of the JLine Java library (versions 3.0.0 prior to 3.30.15, and 4.0.0 prior to 4.3.1). The org.jline.builtins.Less class passes user-supplied search and display-filter patterns directly to Java's standard backtracking regular expression engine without complexity validation or execution timeouts. An attacker with access to an interactive JLine session can submit patterns containing nested quantifiers, causing catastrophic backtracking that consumes 100% of a CPU core and blocks the session thread indefinitely. In network-facing deployments such as SSH or Telnet administration consoles, repeated exploitation across concurrent sessions can exhaust bounded worker thread pools and result in a complete denial of service.

Alon Barad
Alon Barad
5 views•10 min read
•about 15 hours ago•CVE-2026-63492
8.1

CVE-2026-63492 (Duplicate of CVE-2026-63304): OS Command Injection in WWBN AVideo Standalone API

CVE-2026-63492 is a rejected CVE identifier originally assigned by GitHub for an OS command injection vulnerability in WWBN AVideo (formerly YouPHPTube) up to version 29.0. It was rejected as a duplicate of the canonical identifier CVE-2026-63304 (tracked under GHSA-j44m-77cc-p3cc). The flaw resides in the listFFmpegProcesses() function within plugin/API/standAlone/functions.php, which interpolates unsanitized user parameters directly into a single-quoted shell pipeline executed via PHP's exec() function. Attackers capable of crafting a valid AES-256-CBC encrypted API payload can break out of the single-quoted context and execute arbitrary operating system commands as the web-server user.

Amit Schendel
Amit Schendel
5 views•9 min read
•about 16 hours ago•CVE-2026-63476
4.3

CVE-2026-63476: Unbounded Memory Allocation and Denial of Service in isomorphic-git Packfile Delta Parser

CVE-2026-63476 is an uncontrolled resource consumption vulnerability in isomorphic-git prior to version 1.38.6. When parsing Git packfile delta objects during clone or fetch operations, the applyDelta utility reads an untrusted targetSize integer from the delta stream header and passes it directly to Buffer.alloc(). A malicious remote Git server or man-in-the-middle attacker can supply a delta header specifying a targetSize of approximately 2 GB with minimal actual payload data. Because Buffer.alloc() reserves off-heap memory in Node.js, this bypasses standard V8 heap limits and results in immediate out-of-memory termination or sustained memory retention.

Amit Schendel
Amit Schendel
5 views•10 min read
•about 17 hours ago•CVE-2026-63410
5.9

CVE-2026-63410: Compiler-Induced Timing Side-Channel in secp256k1-native Scalar Multiplication

CVE-2026-63410 (GHSA-vp2j-gqfm-r3cf) is a compiler-induced timing side-channel vulnerability in the secp256k1-native Ruby C extension. When compiled with GCC 14.x or 15.x at optimization level -O2, the compiler reconstructs boolean predicates from branchless bitwise multiplexer routines and emits secret-dependent conditional jump instructions (je/jne). During elliptic curve scalar multiplication in the Montgomery ladder, these conditional branches create observable execution timing variations correlated with individual bits of secret private keys or signing nonces.

Alon Barad
Alon Barad
3 views•12 min read