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.
Severity (CVSS)
| Base score | 6.1 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-116 — CWE-116: Improper Encoding or Escaping of Output
Affected products
| Vendor | Product | Versions |
|---|---|---|
| mljar | mercury | >= 3.0.0, < 3.2.11 [affected] |
References
- https://github.com/mljar/mercury/security/advisories/GHSA-2658-85cv-9wwq (x_refsource_CONFIRM)
- https://github.com/mljar/mercury/commit/c798a85924e6614c6fea7afe5a560e4554a1d09b (x_refsource_MISC)
- https://github.com/mljar/mercury/releases/tag/v3.2.11 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 20 Oct 2026 07:03 UTC.