Skip to content
CVE-2026-108261 Google Chronicle · YARA-L

Detect TinaCMS Admin Preview Iframe Origin Spoofing via URL Fragment (CVE-2026-108261) in Google Chronicle

Detects exploitation attempts and exposure indicators for CVE-2026-108261, an origin-validation / open-redirect flaw (CWE-346, CWE-441, CWE-601) in TinaCMS (tinacms <= 3.13.0 and @tinacms/app <= 2.5.13). The admin preview iframe loads an attacker-controlled origin supplied through the URL fragment (e.g. #/~/... or a preview/url parameter), allowing a malicious page to be rendered inside the trusted TinaCMS admin context and to abuse postMessage channels. This detection looks for requests to the TinaCMS admin surface (/admin, /admin/index.html, _tina/, @tinacms/app assets) carrying suspicious fragment or query-embedded external origins, cross-origin referers into the admin preview, and vulnerable @tinacms/app / tinacms package versions in build or SCA telemetry. CVSS 9.3, exploit status: public PoC.

Based on GHSA-x34j-47hf-4xg7, TinaCMS admin preview iframe origin advisory

MITRE ATT&CK

Tactic
Initial Access

YARA-L Detection Query

Google Chronicle (YARA-L)
yaral
// df00tech DF00-5a0f19b735 · https://df00tech.com/detections/CVE-2026-108261 · licence: https://df00tech.com/detections/licence
rule tinacms_admin_preview_origin_injection_CVE_2026_108261 {
  meta:
    author = "Argus Detection Platform"
    description = "TinaCMS admin preview iframe loads attacker-controlled origin from URL fragment/query (CVE-2026-108261)"
    severity = "HIGH"
    reference = "GHSA-x34j-47hf-4xg7"
  events:
    $e.metadata.event_type = "NETWORK_HTTP"
    (
      re.regex($e.network.http.referral_url, `(?i)/admin|/_tina|@tinacms/app|tinacms`) or
      re.regex($e.target.url, `(?i)/admin|/_tina|@tinacms/app|tinacms`)
    )
    re.regex($e.target.url, `(?i)(preview|url|origin|iframe|src)=.*(https?%3a%2f%2f|https?:\/\/|%2f%2f|\/\/)`)
    $ip = $e.principal.ip
  match:
    $ip over 10m
  condition:
    $e
}
high severity medium confidence

Chronicle YARA-L rule for TinaCMS admin preview external-origin injection attempts.

Data Sources

Web ProxyHTTP Logs

Required Tables

NETWORK_HTTP

False Positives & Tuning

  • Approved external preview origins
  • Proxy URL rewriting
  • Scanner traffic to /admin

Other platforms for CVE-2026-108261


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.

  1. Test 1 TinaCMS preview iframe origin injection via query parameter

    Expected signal: Web/proxy access log entry for /admin/index.html with an encoded external origin in the query and a cross-origin referer.

  2. Test 2 TinaCMS preview origin injection via URL fragment-derived parameter

    Expected signal: Request to /_tina/preview with a protocol-relative external origin parameter.

  3. Test 3 Vulnerable TinaCMS package present in build

    Expected signal: SCA/SBOM telemetry or file-integrity event showing tinacms 3.13.0 (<= 3.13.0, vulnerable).


Response Playbook

Triage

  1. Confirm whether the targeted host runs TinaCMS admin: check for the /admin, /admin/index.html, /_tina/ or @tinacms/app asset paths in the flagged requests.
  2. Determine the installed tinacms / @tinacms/app version from package-lock.json, the SBOM, or SCA telemetry; versions tinacms <= 3.13.0 or @tinacms/app <= 2.5.13 are vulnerable.
  3. Decode the fragment/query parameter from the flagged request (URL-decode %2F, %3A) and identify the external origin being injected into the preview iframe; determine if it points to an attacker-controlled domain.
  4. Correlate the source IP and referer with known editor/CMS-user activity to distinguish a legitimate external preview origin from an injection attempt.

Containment

  1. Upgrade to [email protected] / @tinacms/[email protected] or later, which restricts the preview iframe to trusted origins.
  2. Until patched, block or WAF-filter admin preview requests whose fragment/query contains an absolute external origin, and restrict /admin access to authenticated internal networks.

Evidence Collection

  1. Preserve web server, proxy and CDN access logs showing the full request URL (including query), referer, source IP and user-agent for the flagged events.
  2. Capture the exact decoded origin value injected into the preview iframe and any subsequent requests from that origin, plus browser/session identifiers of the affected editor.

Escalation Criteria

  • !Escalate to IR if a flagged external origin resolves to an untrusted/attacker-controlled domain and an authenticated admin session loaded it.
  • !Escalate if there is evidence of postMessage abuse, credential/session theft, or content modification following the preview iframe loading an external origin.

Investigation Guide

Forensic Artifacts

  • >Web/proxy access log entries for /admin and /_tina preview requests with external origins in the fragment or query
  • >Browser session storage / referer chains showing the preview iframe navigating to an external origin
  • >package-lock.json / SBOM entries pinning vulnerable tinacms or @tinacms/app versions

Tuning Guidance

Build an allowlist of approved external preview/staging origins used by your editorial team and exclude them from the external-origin match. Scope the detection to hosts actually running TinaCMS admin to reduce noise from unrelated /admin paths. If a reverse proxy legitimately embeds absolute URLs in query parameters, anchor the regex to the specific TinaCMS preview parameter names rather than any absolute URL.


Hunting Queries

Hunt for any TinaCMS admin/preview request carrying an absolute URL in the query string, indicating a candidate origin-injection attempt.

Hunting — KQL
kql
// df00tech DF00-5a0f19b735 · https://df00tech.com/detections/CVE-2026-108261 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriStem has_any ("/admin","/_tina") | where csUriQuery has_any ("http://","https://","%2f%2f") | project TimeGenerated, cIP, csUriStem, csUriQuery, csReferer
Hunting — SPL
spl
``` df00tech DF00-5a0f19b735 · https://df00tech.com/detections/CVE-2026-108261 · licence: https://df00tech.com/detections/licence ```
index=web (uri_path="*/admin*" OR uri_path="*/_tina*") uri_query="*http*" | stats count by src_ip, uri_path, uri_query, referer

Atomic Red Team Tests

Test 1 TinaCMS preview iframe origin injection via query parameter
linux

Simulate a request to the TinaCMS admin preview surface with an attacker-controlled absolute origin in the preview/url parameter.

Command

bash
curl -s -o /dev/null -w '%{http_code}\n' 'http://localhost:3000/admin/index.html?preview=1&url=https%3A%2F%2Fattacker.example%2Fevil' -H 'Referer: https://attacker.example/'

Cleanup

bash
echo 'No persistent artifacts; clear web server access logs for the test window if required.'

Expected Telemetry

Web/proxy access log entry for /admin/index.html with an encoded external origin in the query and a cross-origin referer.

Expected Detection

KQL/SPL/EQL rules fire on the admin path plus external-origin query match.

Test 2 TinaCMS preview origin injection via URL fragment-derived parameter
linux

Simulate the fragment-based variant where the client reads the origin from the URL fragment and re-requests assets (server-side observes the decoded origin param).

Command

bash
curl -s -o /dev/null -w '%{http_code}\n' 'http://localhost:3000/_tina/preview?origin=//evil.example' -H 'Referer: http://localhost:3000/admin'

Cleanup

bash
echo 'No persistent artifacts to remove.'

Expected Telemetry

Request to /_tina/preview with a protocol-relative external origin parameter.

Expected Detection

Detection matches the /_tina path with the //evil origin pattern.

Test 3 Vulnerable TinaCMS package present in build
linux

Flag a build/SCA scenario where a vulnerable tinacms version is installed, confirming exposure to CVE-2026-108261.

Command

bash
mkdir -p /tmp/tinacms-test && cd /tmp/tinacms-test && printf '{\n  "dependencies": { "tinacms": { "version": "3.13.0" } }\n}\n' > package-lock.json && cat package-lock.json

Cleanup

bash
rm -rf /tmp/tinacms-test

Expected Telemetry

SCA/SBOM telemetry or file-integrity event showing tinacms 3.13.0 (<= 3.13.0, vulnerable).

Expected Detection

Vulnerability-exposure correlation flags the vulnerable version against CVE-2026-108261.

Related Detections