Vulnerability library
Security checkAugust 25, 2026

Plate: Media embed provider metadata can bypass URL sanitization and execute iframe JavaScript

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

High severitynpm@platejs/media

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The media embed renderer trusts serialized provider or sourceUrl metadata and skips the URL protocol validation that normally blocks unsafe media embed URLs. A crafted Plate document can set a known video provider while keeping url as a javascript: iframe source.

Recommendation

Update the @platejs/media package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 53.0.0, < 53.1.4
  • Patched version(s): 53.1.4

References

Could your website be exposed too?

SmartScanner can check your website for Plate: Media embed provider metadata can bypass URL sanitization and execute iframe JavaScript and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated August 25, 2026