Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| udecode / plate | affected >= 53.0.0, < 53.1.4 |
CWE
CWE-79
References
- https://github.com/udecode/plate/security/advisories/GHSA-qj6x-xx2h-8hvv
- https://github.com/udecode/plate/pull/5014
- https://github.com/udecode/plate/commit/6214914ca811adf22d0ad503154494216eed68ba
- https://github.com/udecode/plate/releases/tag/v53.1.4
ADP enrichment
No English description supplied.