Description
Editors that use MediaEmbedElement and pass custom urlParsers to the useMediaState hook may be vulnerable to XSS if a custom parser allows javascript:, data: or vbscript: URLs to be embedded. Editors that do not use urlParsers and instead consume the url property directly may also be vulnerable if the URL is not sanitised.
Recommendation
Update the @udecode/plate-media package to the latest compatible version. Followings are version details:
- Affected version(s): < 36.0.10
- Patched version(s): 36.0.10
References
Could your website be exposed too?
SmartScanner can check your website for Plate media plugins has a XSS in media embed element when using custom URL parsers and gives you actionable findings to investigate.
Start a free scanRelated Issues
- SunEditor Embed Plugin has DOM XSS via External Script Element After Iframe Embed - CVE-2026-54606
- Plate: Media embed provider metadata can bypass URL sanitization and execute iframe JavaScript - CVE-2026-55596
- SCEditor has DOM XSS via emoticon URL/HTML injection - CVE-2026-25581
- TinyMCE Cross-Site Scripting (XSS) vulnerability in handling external SVG files through Object or Embed elements - CVE-2024-29881


