{"id":"CVE-2026-111059","published":"2026-10-19T16:11:29Z","modified":"2026-10-20T16:11:40Z","title":"Mercury: Stored / DOM Cross-Site Scripting (XSS): mr.Markdown renders untrusted content as raw, unsanitized HTML","vendor":"mljar","product":"mercury","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00327,"percentile":0.18216,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/mljar/mercury/security/advisories/GHSA-2658-85cv-9wwq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mljar/mercury/commit/c798a85924e6614c6fea7afe5a560e4554a1d09b","tags":["x_refsource_MISC"]},{"url":"https://github.com/mljar/mercury/releases/tag/v3.2.11","tags":["x_refsource_MISC"]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":3.64},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"mljar","affectedVersions":[{"vendor":"mljar","product":"mercury","versions":[">= 3.0.0, < 3.2.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-20T15:10:08.190617Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mercury","vulnerableRanges":[">=3.0.0, <3.2.11"],"patched":["3.2.11"],"from":["GHSA-2658-85cv-9wwq"],"provenance":"source"}],"summary":{"text":"The flaw is in the mr.Markdown component of Mercury, a Python framework for sharing Jupyter notebooks as web applications and dashboards: it converts Markdown to HTML without sanitizing raw HTML before rendering it into an ipywidgets.HTML sink, so untrusted content reaches the page unescaped. An attacker who can supply Markdown rendered by mr.Markdown can have active HTML such as event-handler attributes execute in the browser of another user who views the application, which requires that victim to interact with the application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:44Z"},"euvd":{"id":"EUVD-2026-104453","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-111057","published":"2026-10-19","fixed":"3.2.4","kev":false},{"cve":"CVE-2026-111058","published":"2026-10-19","fixed":"3.2.6","kev":false,"link":{"from":"CVE-2026-111058","to":"CVE-2026-111059","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mercury","fromFixed":"3.2.6","toFixed":"3.2.11","daysApart":0},{"kind":"similar","provenance":"machine","score":0.31,"basis":"same product + description similarity"}]}},{"cve":"CVE-2026-111059","published":"2026-10-19","fixed":"3.2.11","kev":false}],"package":"PyPI:mercury"}}