{"id":"CVE-2026-111059","state":"PUBLISHED","title":"Mercury: Stored / DOM Cross-Site Scripting (XSS): mr.Markdown renders untrusted content as raw, unsanitized HTML","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.","publishedAt":"2026-10-19T16:11:29.745Z","updatedAt":"2026-10-20T16:11:40.067Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["mljar mercury"],"affected":[{"vendor":"mljar","product":"mercury","versions":[{"version":">= 3.0.0, < 3.2.11","status":"affected"}]}],"references":["https://github.com/mljar/mercury/security/advisories/GHSA-2658-85cv-9wwq","https://github.com/mljar/mercury/commit/c798a85924e6614c6fea7afe5a560e4554a1d09b","https://github.com/mljar/mercury/releases/tag/v3.2.11"],"weaknesses":["CWE-79","CWE-116"],"ingestedAt":"2026-10-29T20:10:33.477Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/111xxx/CVE-2026-111059.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-111059","state":"PUBLISHED","datePublished":"2026-10-19T16:11:29.745Z","dateUpdated":"2026-10-20T16:11:40.067Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-15T12:47:13.664Z"},"containers":{"cna":{"title":"Mercury: Stored / DOM Cross-Site Scripting (XSS): mr.Markdown renders untrusted content as raw, unsanitized HTML","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"mljar","product":"mercury","versions":[{"version":">= 3.0.0, < 3.2.11","status":"affected"}]}],"references":[{"url":"https://github.com/mljar/mercury/security/advisories/GHSA-2658-85cv-9wwq","name":"https://github.com/mljar/mercury/security/advisories/GHSA-2658-85cv-9wwq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mljar/mercury/commit/c798a85924e6614c6fea7afe5a560e4554a1d09b","name":"https://github.com/mljar/mercury/commit/c798a85924e6614c6fea7afe5a560e4554a1d09b","tags":["x_refsource_MISC"]},{"url":"https://github.com/mljar/mercury/releases/tag/v3.2.11","name":"https://github.com/mljar/mercury/releases/tag/v3.2.11","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-116","lang":"en","description":"CWE-116: Improper Encoding or Escaping of Output","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-19T16:11:29.745Z"},"source":{"advisory":"GHSA-2658-85cv-9wwq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-20T15:10:08.190617Z","id":"CVE-2026-111059","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-20T16:11:40.067Z"}}]}}}