Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @tinacms/app
  4. ›
  5. CVE-2026-55660

CVE-2026-55660: TinaCMS: Cross-origin postMessage handlers and rich-text URL-sanitization bypass enable stored XSS and session takeover

June 19, 2026

TinaCMS registers window message listeners — the useTina overlay handler, the OAuth authentication popup handler, and the admin↔preview iframe GraphQL reducer — that act on event.data without verifying event.origin or event.source, and post messages using non-specific target origins. A page the victim visits (or a window in an opener/iframe relationship with a Tina admin) can forge messages to drive the editor, inject preview content, or observe/forge the OAuth popup channel to take over an authenticated editing session.

Fixed in #7056 by allow-listing trusted origins and verifying event.source (isFromAdmin, isFromTrustedPreviewOrigin), and by posting only to explicit target origins (never “*”).

Note: the rich-text URL-sanitization issue previously bundled here has been split into its own advisory (GHSA-2vcc-5v34-9jc8) so each vulnerability can receive a distinct CVE.

References

  • github.com/advisories/GHSA-g5qx-h5f3-mp2f
  • github.com/tinacms/tinacms/pull/7056
  • github.com/tinacms/tinacms/security/advisories/GHSA-g5qx-h5f3-mp2f
  • nvd.nist.gov/vuln/detail/CVE-2026-55660

Code Behaviors & Features

Detect and mitigate CVE-2026-55660 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.5.6

Fixed versions

  • 2.5.6

Solution

Upgrade to version 2.5.6 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-346: Origin Validation Error
  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-940: Improper Verification of Source of a Communication Channel

Source file

npm/@tinacms/app/CVE-2026-55660.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:48 +0000.