Vulnerability library
Security checkJune 19, 2026

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

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

High severitynpmtinacms

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 package to the latest compatible version. Followings are version details:

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

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 and gives you actionable findings to investigate.

Start a free scan

Related Issues

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