<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>@Platejs/Media - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/@platejs/media/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 25 Aug 2026 18:50:10 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/@platejs/media/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Cross-Site Scripting Vulnerability in Plate Media Embed Renderer</title><link>https://feed.craftedsignal.io/briefs/2026-08-plate-media-xss/</link><pubDate>Tue, 25 Aug 2026 18:50:10 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-plate-media-xss/</guid><description>A vulnerability in the Plate @platejs/media package allows attackers to bypass URL sanitization and achieve Cross-Site Scripting (XSS) by embedding malicious JavaScript URIs in media documents (CVE-2026-55596).</description><content:encoded><![CDATA[<p>The Plate media embed component, specifically the <code>@platejs/media</code> package (versions 53.0.0 through 53.1.3), contains a critical flaw that allows for Stored Cross-Site Scripting (XSS). The vulnerability exists because the library's <code>useMediaState</code> hook contains a fast-path optimization that incorrectly trusts serialized document metadata (<code>provider</code>, <code>sourceUrl</code>, and <code>id</code>) without re-validating the <code>url</code> parameter.</p>
<p>By crafting a Plate document that specifies a legitimate video provider (e.g., <code>vimeo</code>) but provides an arbitrary <code>url</code> field containing <code>javascript:</code> URIs, an attacker can bypass the intended <code>parseMediaUrl</code> sanitization logic. When a victim opens a document containing this malicious node, the registry <code>MediaEmbedElement</code> trusts the attacker-supplied <code>provider</code> metadata and proceeds to render the malicious <code>url</code> directly into an <code>&lt;iframe&gt;</code> src attribute. This results in the execution of JavaScript within the context of the host application, potentially leading to session hijacking or sensitive data exfiltration.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for arbitrary JavaScript execution in the victim's browser context. The impact is dependent on the host application's session model and document access permissions. In collaborative environments, this could lead to widespread XSS against users who view maliciously crafted documents. The vulnerability is addressed in <code>@platejs/media</code> version 53.1.4.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Upgrade the <code>@platejs/media</code> package to version 53.1.4 or later immediately.</li>
<li>Implement strict input validation on the client side to ensure the <code>url</code> field in media embeds uses only <code>http:</code> or <code>https:</code> protocols.</li>
<li>Treat all serialized metadata, including <code>provider</code>, <code>sourceUrl</code>, and <code>id</code>, as untrusted; always recompute these values from the <code>url</code> field using <code>parseMediaUrl</code> rather than relying on cached serialized data.</li>
</ol>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>xss</category><category>injection</category><category>web-application</category><category>cve-2026-55596</category></item></channel></rss>