[ CVE-2026-111059 · Published 19 Oct 2026 ]
Mercury: Stored / DOM Cross-Site Scripting (XSS): mr.Markdown renders untrusted content as raw, unsanitized HTML
CVSS 6.1
EPSS <1%Fix available
[ Description ]Official description
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.
[ Fixes ]Fixes and patches
- mercury 3.2.11Fixed version · GitHub Advisories · pip package mercury: upgrade to 3.2.11 or later (affected >= 3.0.0, < 3.2.11)
[ Packages ]Affected open-source packages
- mercury pipAffected >= 3.0.0, < 3.2.11 · fixed in 3.2.11 · GHSA-2658-85cv-9wwq