Vulnerability library
Security checkOctober 09, 2026

TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment - @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

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

  • Affected version(s): <= 2.5.13
  • Patched version(s): 2.5.14

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

Start a free scan

Related Issues

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