Skip to content

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

MediumCVSS 6.1 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi mercury(PyPI) = 3.0.0; = 3.0.1; = 3.0.2; = 3.1.0 +16 more 3.2.11 Fixed
mljar mercury = >= 3.0.0, < 3.2.11 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi mercury(PyPI) >= 3.0.0, < 3.2.11 3.2.11
pypi mercury(PyPI) = 3.0.0 No fix listed
pypi mercury(PyPI) = 3.0.1 No fix listed
pypi mercury(PyPI) = 3.0.2 No fix listed
pypi mercury(PyPI) = 3.1.0 No fix listed
pypi mercury(PyPI) = 3.1.1 No fix listed
pypi mercury(PyPI) = 3.1.2 No fix listed
pypi mercury(PyPI) = 3.1.4 No fix listed
pypi mercury(PyPI) = 3.1.5 No fix listed
pypi mercury(PyPI) = 3.2.0 No fix listed
pypi mercury(PyPI) = 3.2.1 No fix listed
pypi mercury(PyPI) = 3.2.10 No fix listed
pypi mercury(PyPI) = 3.2.2 No fix listed
pypi mercury(PyPI) = 3.2.3 No fix listed
pypi mercury(PyPI) = 3.2.4 No fix listed
pypi mercury(PyPI) = 3.2.5 No fix listed
pypi mercury(PyPI) = 3.2.6 No fix listed
pypi mercury(PyPI) = 3.2.7 No fix listed
pypi mercury(PyPI) = 3.2.8 No fix listed
pypi mercury(PyPI) = 3.2.9 No fix listed
mljar mercury = >= 3.0.0, < 3.2.11 No fix listed

References