Vulnerability library
Security checkJune 19, 2026

TinaCMS: Cross-origin postMessage handlers and rich-text URL-sanitization bypass enable stored XSS and session takeover - @tinacms/app

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpm@tinacms/app

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the @tinacms/app package to the latest compatible version. Followings are version details:

  • Affected version(s): < 2.5.6
  • Patched version(s): 2.5.6

References

Could your website be exposed too?

SmartScanner can check your website for TinaCMS: Cross-origin postMessage handlers and rich-text URL-sanitization bypass enable stored XSS and session takeover - @tinacms/app and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 19, 2026