CVE Catalog

CVE-2026-111059

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Summary

In Mercury 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 reach the DOM and execute when another user views the application.

Risk Assessment

This can lead to XSS and execution of arbitrary JavaScript in the victim's browser.

Recommendation

Update Mercury to version 3.2.11 or later.

Other vulnerabilities in Mercury

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS