<?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>Legora - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/legora/</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>Mon, 17 Aug 2026 20:50:49 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/legora/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 Legora via Mermaid Blocks</title><link>https://feed.craftedsignal.io/briefs/2026-08-legora-xss/</link><pubDate>Mon, 17 Aug 2026 20:50:49 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-legora-xss/</guid><description>Legora versions prior to 2026-08-14 are vulnerable to cross-site scripting via insecure front-matter parsing in Mermaid diagram blocks, allowing arbitrary JavaScript execution and potential session token theft.</description><content:encoded><![CDATA[<p>Legora versions released prior to 2026-08-14 contain a critical cross-site scripting (XSS) vulnerability related to the handling of Mermaid diagram blocks. The application utilizes a front-matter parser that improperly invokes the eval() function on diagram content prefixed with JavaScript front-matter directives before any SVG sanitization is performed. This flaw allows attackers to execute arbitrary JavaScript within the context of the victim's browser session.</p>
<p>The impact is particularly severe when Legora is deployed as a Word or Outlook add-in, where the browser session shares the same origin or local storage access as the host application. In these environments, the execution of unauthorized scripts enables the exfiltration of sensitive bearer session tokens persisted in localStorage. Defenders should prioritize patching Legora to version 2026-08-14 or later to remediate the unsafe parsing logic.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for the execution of arbitrary JavaScript in the victim's browser, potentially leading to unauthorized access to user data, session hijacking via token theft in Word and Outlook environments, and impersonation of the legitimate user.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade all instances of Legora to version 2026-08-14 or later immediately.</li>
<li>Review browser-based access logs for web-based instances of Legora to identify requests containing atypical Mermaid syntax or front-matter directives.</li>
<li>Implement Content Security Policy (CSP) headers that restrict the execution of inline scripts and disallow the use of eval() if the application architecture permits.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category></item></channel></rss>