<?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://db.gcve.eu</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>Wed, 21 Oct 2026 02:35:53 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-111059</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-111059</link>
      <description>&lt;p&gt;Mercury is a Python framework for sharing Jupyter notebooks as web applications and dashboards. From 3.0.0 until 3.2.11, mr.Markdown converts attacker-controlled Markdown to HTML without sanitizing raw HTML before assigning it to an ipywidgets.HTML sink. Event-handler attributes and other active HTML can therefore reach the DOM and execute when another user views the application. This issue is fixed in version 3.2.11.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;Mercury is a Python framework for sharing Jupyter notebooks as web applications and dashboards. From 3.0.0 until 3.2.11, mr.Markdown converts attacker-controlled Markdown to HTML without sanitizing raw HTML before assigning it to an ipywidgets.HTML sink. Event-handler attributes and other active HTML can therefore reach the DOM and execute when another user views the application. This issue is fixed in version 3.2.11.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-111059</guid>
    </item>
    <item>
      <title>GHSA-2658-85cv-9wwq — Mercury: Stored / DOM Cross-Site Scripting (XSS): mr.Markdown renders untrusted content as raw, unsanitized HTML</title>
      <link>https://db.gcve.eu/vuln/ghsa-2658-85cv-9wwq</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: mercury&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;Mercury turns Jupyter notebooks into shared web apps/dashboards. The `mr.Markdown`
widget converts its input to HTML with **python-markdown and no sanitization
step**. `MarkdownWidget` is an `ipywidgets.HTML` widget, whose value is written to
the page as **raw HTML (via `innerHTML`) with no sanitization**, so the result
reaches the DOM verbatim. When an app passes **untrusted data** (database rows,
user submissions, uploaded file contents, or an external/LLM API response) to
`mr.Markdown`, HTML/JS in that data executes in the browser of **whoever views the
app** — a data-driven stored/DOM-based XSS.&lt;/p&gt;
&lt;p&gt;This is a library-provided rendering sink that fails to neutralize output; it is
triggered by ordinary, reasonable application code, not by an author mistake.&lt;/p&gt;
&lt;p&gt;## Root cause&lt;/p&gt;
&lt;p&gt;`mercury/md.py` — `MarkdownWidget._to_html()` (verified at v3.2.6, lines ~57–65):&lt;/p&gt;
&lt;p&gt;```python
def _to_html(self, text: str) -&amp;gt; str:
    if md_lib is not None:
        body = md_lib.markdown(text)          # python-markdown: passes raw HTML through
    else:
        body = f&amp;#34;&amp;lt;pre&amp;gt;{escape(text)}&amp;lt;/pre&amp;gt;&amp;#34;   # escape() is ONLY the md-lib-absent fallback
    return self._apply_inline_theme(body)     # regex styling — adds style=, removes nothing
```&lt;/p&gt;
&lt;p&gt;Two neutralization failures compound:&lt;/p&gt;
&lt;p&gt;1. **Markdown → HTML is unsanitized.** `python-markdown` passes raw HTML through by
   default: `&amp;lt;img src=x onerror=…&amp;gt;`, `&amp;lt;svg onload=…&amp;gt;`, and `javascript:` links
   survive verbatim. There is no `bleach`/`nh3` allowli…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: mercury&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;Mercury turns Jupyter notebooks into shared web apps/dashboards. The `mr.Markdown`
widget converts its input to HTML with **python-markdown and no sanitization
step**. `MarkdownWidget` is an `ipywidgets.HTML` widget, whose value is written to
the page as **raw HTML (via `innerHTML`) with no sanitization**, so the result
reaches the DOM verbatim. When an app passes **untrusted data** (database rows,
user submissions, uploaded file contents, or an external/LLM API response) to
`mr.Markdown`, HTML/JS in that data executes in the browser of **whoever views the
app** — a data-driven stored/DOM-based XSS.&lt;/p&gt;
&lt;p&gt;This is a library-provided rendering sink that fails to neutralize output; it is
triggered by ordinary, reasonable application code, not by an author mistake.&lt;/p&gt;
&lt;p&gt;## Root cause&lt;/p&gt;
&lt;p&gt;`mercury/md.py` — `MarkdownWidget._to_html()` (verified at v3.2.6, lines ~57–65):&lt;/p&gt;
&lt;p&gt;```python
def _to_html(self, text: str) -&amp;gt; str:
    if md_lib is not None:
        body = md_lib.markdown(text)          # python-markdown: passes raw HTML through
    else:
        body = f&amp;#34;&amp;lt;pre&amp;gt;{escape(text)}&amp;lt;/pre&amp;gt;&amp;#34;   # escape() is ONLY the md-lib-absent fallback
    return self._apply_inline_theme(body)     # regex styling — adds style=, removes nothing
```&lt;/p&gt;
&lt;p&gt;Two neutralization failures compound:&lt;/p&gt;
&lt;p&gt;1. **Markdown → HTML is unsanitized.** `python-markdown` passes raw HTML through by
   default: `&amp;lt;img src=x onerror=…&amp;gt;`, `&amp;lt;svg onload=…&amp;gt;`, and `javascript:` links
   survive verbatim. There is no `bleach`/`nh3` allowli…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-2658-85cv-9wwq</guid>
    </item>
  </channel>
</rss>
