p PatchFirst

CVE-2026-111059

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.1 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • mercury

    Versions
    • >= 3.0.0, < 3.2.11: Affected

    No fix published

  • mercury PyPI

    Versions
    • 3.0.0
    • 3.0.1
    • 3.0.2
    • 3.1.0
    • 3.1.1
    • 3.1.2
    • 3.1.4
    • 3.1.5
    • 3.2.0
    • 3.2.1
    • 3.2.10
    • 3.2.2
    • 3.2.3
    • 3.2.4
    • 3.2.5
    • 3.2.6
    • 3.2.7
    • 3.2.8
    • 3.2.9
    Affected ranges
    • ECOSYSTEM: ≥ 3.0.0, < 3.2.11

    Update to 3.2.11

Original sources

Check your server →