<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 05 Oct 2026 05:50:42 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-50159 — Mermaid allows CSS injection applying to sibling elements of the diagram</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2026-50159</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; mermaid-js mermaid&lt;/p&gt;
&lt;p&gt;Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.8 and 11.16.1, Mermaid is vulnerable to CSS injection via sibling combinator selectors generated from diagram-supplied class or id names. An attacker who can supply diagram text can inject arbitrary CSS into the rendered page, potentially altering the appearance or behavior of unrelated page elements. This issue is fixed in versions 10.9.8 and 11.16.1.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; mermaid-js mermaid&lt;/p&gt;
&lt;p&gt;Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.8 and 11.16.1, Mermaid is vulnerable to CSS injection via sibling combinator selectors generated from diagram-supplied class or id names. An attacker who can supply diagram text can inject arbitrary CSS into the rendered page, potentially altering the appearance or behavior of unrelated page elements. This issue is fixed in versions 10.9.8 and 11.16.1.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2026-50159</guid>
    </item>
    <item>
      <title>GHSA-55q2-fjhq-7xh7 — DOMPurify: IN_PLACE hook removal leaves a detached subtree executable, causing XSS</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-55q2-fjhq-7xh7</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: dompurify&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;During `IN_PLACE` sanitization, a hook that removes an element can leave that element&amp;#39;s detached descendants executable. A descendant image can retain its attacker-provided `onload` handler and fire after `sanitize()` returns, even though the returned root is clean and the image remains disconnected from the document.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;In DOMPurify 3.4.12, `_sanitizeElements()` in `src/purify.ts:1862-1904` runs the `beforeSanitizeElements` or `uponSanitizeElement` hook and returns immediately when the hook detached the current node. The return does not call `_neutralizeSubtree(currentNode)`.&lt;/p&gt;
&lt;p&gt;The detached subtree is not added to `DOMPurify.removed`, so the post-walk `IN_PLACE` neutralization cannot reach it. If the browser queued a resource event while the application constructed the detached dirty root, a descendant can therefore retain its handler and execute after sanitization.&lt;/p&gt;
&lt;p&gt;The hook only rejects the containing element and does not add or approve the event handler. DOMPurify&amp;#39;s ordinary removal path de-arms the same queued event; only the hook-detachment early return skips the existing subtree neutralization.&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;Load the published `dompurify@3.4.12` `dist/purify.js` before this script in Chromium:&lt;/p&gt;
&lt;p&gt;```html
&amp;lt;div id=&amp;#34;result&amp;#34;&amp;gt;not fired&amp;lt;/div&amp;gt;
&amp;lt;script&amp;gt;
const root = document.createElement(&amp;#39;div&amp;#39;);
root.innerHTML = `
  &amp;lt;footer&amp;gt;
    &amp;lt;img src=&amp;#34;data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7&amp;#34;
         onload=&amp;#34;result.textContent = &amp;#39;XS…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: dompurify&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;During `IN_PLACE` sanitization, a hook that removes an element can leave that element&amp;#39;s detached descendants executable. A descendant image can retain its attacker-provided `onload` handler and fire after `sanitize()` returns, even though the returned root is clean and the image remains disconnected from the document.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;In DOMPurify 3.4.12, `_sanitizeElements()` in `src/purify.ts:1862-1904` runs the `beforeSanitizeElements` or `uponSanitizeElement` hook and returns immediately when the hook detached the current node. The return does not call `_neutralizeSubtree(currentNode)`.&lt;/p&gt;
&lt;p&gt;The detached subtree is not added to `DOMPurify.removed`, so the post-walk `IN_PLACE` neutralization cannot reach it. If the browser queued a resource event while the application constructed the detached dirty root, a descendant can therefore retain its handler and execute after sanitization.&lt;/p&gt;
&lt;p&gt;The hook only rejects the containing element and does not add or approve the event handler. DOMPurify&amp;#39;s ordinary removal path de-arms the same queued event; only the hook-detachment early return skips the existing subtree neutralization.&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;Load the published `dompurify@3.4.12` `dist/purify.js` before this script in Chromium:&lt;/p&gt;
&lt;p&gt;```html
&amp;lt;div id=&amp;#34;result&amp;#34;&amp;gt;not fired&amp;lt;/div&amp;gt;
&amp;lt;script&amp;gt;
const root = document.createElement(&amp;#39;div&amp;#39;);
root.innerHTML = `
  &amp;lt;footer&amp;gt;
    &amp;lt;img src=&amp;#34;data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7&amp;#34;
         onload=&amp;#34;result.textContent = &amp;#39;XS…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-55q2-fjhq-7xh7</guid>
    </item>
  </channel>
</rss>
