Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-111059 EUVD-2026-104453GHSA-2658-85cv-9wwq

Mercury: Stored / DOM Cross-Site Scripting (XSS): mr.Markdown renders untrusted content as raw, unsanitized HTML

Published Oct 19, 2026 · Updated Oct 20, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
mljar mercury >= 3.0.0, < 3.2.11 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI mercury >= 3.0.0, < 3.2.11 3.2.11 GHSA-2658-85cv-9wwq

References