Vulnerability library
Security checkOctober 09, 2026

TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment

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

The TinaCMS admin builds its preview <iframe src> from the /~/* hash-router splat without checking that the value stays same-origin. A fragment with a doubled slash (#/~//attacker.example/p) becomes the protocol-relative URL //attacker.example/p, so the admin frames an external site.

Recommendation

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

  • Affected version(s): <= 3.13.0
  • Patched version(s): 3.14.0

References

Could your website be exposed too?

SmartScanner can check your website for TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 09, 2026