<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-21T00:12:35.917406+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/fkie_cve-2026-111059</id>
    <title>fkie_cve-2026-111059</title>
    <updated>2026-10-21T00:12:35.945457+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>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.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-111059"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-2658-85cv-9wwq</id>
    <title>GHSA-2658-85cv-9wwq — Mercury: Stored / DOM Cross-Site Scripting (XSS): mr.Markdown renders untrusted content as raw, unsanitized HTML</title>
    <updated>2026-10-21T00:12:35.945576+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: mercury</p>
<p>## Summary</p>
<p>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.</p>
<p>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.</p>
<p>## Root cause</p>
<p>`mercury/md.py` — `MarkdownWidget._to_html()` (verified at v3.2.6, lines ~57–65):</p>
<p>```python
def _to_html(self, text: str) -&gt; str:
    if md_lib is not None:
        body = md_lib.markdown(text)          # python-markdown: passes raw HTML through
    else:
        body = f"&lt;pre&gt;{escape(text)}&lt;/pre&gt;"   # escape() is ONLY the md-lib-absent fallback
    return self._apply_inline_theme(body)     # regex styling — adds style=, removes nothing
```</p>
<p>Two neutralization failures compound:</p>
<p>1. **Markdown → HTML is unsanitized.** `python-markdown` passes raw HTML through by
   default: `&lt;img src=x onerror=…&gt;`, `&lt;svg onload=…&gt;`, and `javascript:` links
   survive verbatim. There is no `bleach`/`nh3` allowli…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-2658-85cv-9wwq"/>
  </entry>
</feed>
