<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-05T14:01:52.565549+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/euvd-2026-290472</id>
    <title>EUVD-2026-290472</title>
    <updated>2026-10-05T14:01:52.617118+00:00</updated>
    <content>EUVD-2026-290472</content>
    <link href="https://cve.radiocsirt.org/vuln/euvd-2026-290472"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/fkie_cve-2026-40107</id>
    <title>fkie_cve-2026-40107</title>
    <updated>2026-10-05T14:01:52.617158+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>SiYuan is a personal knowledge management system. Prior to 3.6.4, SiYuan configures Mermaid.js with securityLevel: "loose" and htmlLabels: true. In this mode, &lt;img&gt; tags with src attributes survive Mermaid's internal DOMPurify and land in SVG &lt;foreignObject&gt; blocks. The SVG is injected via innerHTML with no secondary sanitization. When a victim opens a note containing a malicious Mermaid diagram, the Electron client fetches the URL. On Windows, a protocol-relative URL (//attacker.com/image.png) resolves as a UNC path (\\attacker.com\image.png). Windows attempts SMB authentication automatically, sending the victim's NTLMv2 hash to the attacker. This vulnerability is fixed in 3.6.4.</p>
      </div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/fkie_cve-2026-40107"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-w95v-4h65-j455</id>
    <title>GHSA-w95v-4h65-j455 — SiYuan Affected by Zero-Click NTLM Hash Theft and Blind SSRF via Mermaid Diagram Rendering</title>
    <updated>2026-10-05T14:01:52.617196+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: github.com/siyuan-note/siyuan/kernel</p>
<p>SiYuan configures Mermaid.js with `securityLevel: "loose"` and `htmlLabels: true`. In this mode, `&lt;img&gt;` tags with `src` attributes survive Mermaid's internal DOMPurify and land in SVG `&lt;foreignObject&gt;` blocks. The SVG is injected via `innerHTML` with no secondary sanitization. When a victim opens a note containing a malicious Mermaid diagram, the Electron client fetches the URL.</p>
<p>On Windows, a protocol-relative URL (`//attacker.com/image.png`) resolves as a UNC path (`\\attacker.com\image.png`). Windows attempts SMB authentication automatically, sending the victim's NTLMv2 hash to the attacker.</p>
<p>## Root Cause</p>
<p>Mermaid initialization at `app/src/protyle/render/mermaidRender.ts` lines 28 and 33:</p>
<p>mermaid.initialize({
        securityLevel: "loose",
        flowchart: {
            htmlLabels: true,
        },
    });</p>
<p>SVG injection at line 101:</p>
<p>renderElement.lastElementChild.innerHTML = mermaidData.svg;</p>
<p>No DOMPurify or other sanitization between the Mermaid output and DOM insertion.</p>
<p>Mermaid v11.12.0 in "loose" mode strips active JavaScript (`&lt;script&gt;`, `onerror`, `onload`) but explicitly allows `&lt;img&gt;` tags with `src` attributes in the final SVG output. Verified by rendering the PoC below through the Mermaid CLI with matching configuration.</p>
<p>The Electron main process at `app/electron/main.js` line 78 sets `disable-web-security`, and lines 319+ set `webSecurity: false`, `nodeIntegration: true`, `contextIsolation: false` on all BrowserWindows. The disabled web securi…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-w95v-4h65-j455"/>
  </entry>
</feed>
