Vulnerability · Published Jul 8, 2026 · Assigned by GitHub_M
CVE-2026-55596Plate: Media embed provider metadata can bypass URL sanitization and execute iframe JavaScript
High 8.7
In plain English
A high-severity cross-site scripting in plate from udecode. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Plate is a rich-text editor with AI and shadcn/ui. From 53.0.0 until 53.1.4, the media embed renderer trusts serialized provider or sourceUrl metadata in useMediaState and skips parseMediaUrl protocol validation, allowing a crafted Plate document to set a known video provider while keeping url as a javascript: iframe source that the registry MediaEmbedElement renders directly as an iframe src when a victim opens the document. This issue is fixed in version 53.1.4.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @platejs/media | 53.1.4 | GHSA-qj6x-xx2h-8hvv |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
References
- https://github.com/udecode/plate/security/advisories/GHSA-qj6x-xx2h-8hvv x_refsource_CONFIRM
- https://github.com/udecode/plate/pull/5014 x_refsource_MISC
- https://github.com/udecode/plate/commit/6214914ca811adf22d0ad503154494216eed68ba x_refsource_MISC
- https://github.com/udecode/plate/releases/tag/v53.1.4 x_refsource_MISC