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

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-10-19T16:11:29.745Z
- Modified: 2026-10-20T17:17:29.197Z
- Also known as: GHSA-2658-85cv-9wwq
- Weaknesses: CWE-79, CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- mljar mercury: >= 3.0.0, < 3.2.11
- mercury (PyPI): from 3.0.0 before 3.2.11

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/mljar/mercury/security/advisories/GHSA-2658-85cv-9wwq> (web)
- <https://github.com/mljar/mercury/commit/c798a85924e6614c6fea7afe5a560e4554a1d09b> (web)
- <https://github.com/mljar/mercury/releases/tag/v3.2.11> (web)
- <https://github.com/mljar/mercury> (package)

## Sources

- CVE List: [CVE-2026-111059](https://www.cve.org/CVERecord?id=CVE-2026-111059), CVE Terms of Use, modified 2026-10-20
- GitHub Advisory Database: [GHSA-2658-85cv-9wwq](https://github.com/advisories/GHSA-2658-85cv-9wwq), CC-BY-4.0, modified 2026-10-19
- NVD: [CVE-2026-111059](https://nvd.nist.gov/vuln/detail/CVE-2026-111059), Public domain, modified 2026-10-20

---

Page: https://cve.day/CVE-2026-111059 · Whole record: https://cve.day/CVE-2026-111059.json · Rebuilt by cve.day 2026-11-25T22:59:45.538Z
