{"id":"CVE-2026-111059","summary":"Mercury: Stored / DOM Cross-Site Scripting (XSS): mr.Markdown renders untrusted content as raw, unsanitized HTML","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.","aliases":["GHSA-2658-85cv-9wwq"],"modified":"2026-10-20T02:44:16.215483520Z","published":"2026-10-19T16:11:29.745Z","database_specific":{"cwe_ids":["CWE-116","CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111059.json","cna_assigner":"GitHub_M"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mljar/mercury","events":[{"introduced":"d6921dd842d5835d43a7558c5a4ddbcff8b5e540"},{"fixed":"944c6b7ada1d6525d43dae2b895be68747906ca1"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"3.0.0"},{"fixed":"3.2.11"}]}}],"versions":["v3.2.10","v3.2.9","v3.2.8","v3.2.7","v3.2.5","3.2.6","v3.2.3","v3.2.2","v3.2.1","v3.2.0","v3.1.2","v3.1.1","v3.1.0","v3.0.1","v3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111059.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}