Mercury: Stored / DOM Cross-Site Scripting (XSS): mr.Markdown renders untrusted content as raw, unsanitized HTML
影響: pip:mercury >= 3.0.0, < 3.2.11 → 3.2.11
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 da…
| CVE | CVE-2026-111059 |
|---|---|
| 来源 | GitHub Advisory Database |
| 获取时间 | 2026/10/22 01:17 |
| 数据 | Markdown JSON |
2026/10/20 02:01,GitHub Advisory Database 发布了“Mercury: Stored / DOM Cross-Site Scripting (XSS): mr.Markdown renders untrusted content as raw, unsanitized HTML”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Python。CVE:CVE-2026-111059。