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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/mljar/mercury/security/advisories/GHSA-2658-85cv-9wwq vendor-advisory
- https://github.com/mljar/mercury/commit/c798a85924e6614c6fea7afe5a560e4554a1d09b patch
- github.com product
- https://github.com/mljar/mercury/releases/tag/v3.2.11
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2555695 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- ENISA EUVD EUVD-2026-104453 third-party-advisory