{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "3.0.0"
              },
              {
                "fixed": "3.2.11"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "d6921dd842d5835d43a7558c5a4ddbcff8b5e540"
            },
            {
              "fixed": "944c6b7ada1d6525d43dae2b895be68747906ca1"
            }
          ],
          "repo": "https://github.com/mljar/mercury",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-2658-85cv-9wwq"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-116",
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111059.json"
  },
  "details": "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.",
  "id": "CVE-2026-111059",
  "modified": "2026-10-20T02:31:10.757943435Z",
  "published": "2026-10-19T16:11:29.745Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111059.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mljar/mercury/commit/c798a85924e6614c6fea7afe5a560e4554a1d09b"
    },
    {
      "type": "WEB",
      "url": "https://github.com/mljar/mercury/releases/tag/v3.2.11"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mljar/mercury/security/advisories/GHSA-2658-85cv-9wwq"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111059"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Mercury: Stored / DOM Cross-Site Scripting (XSS): mr.Markdown renders untrusted content as raw, unsanitized HTML"
}