Skip to content
MediumVulnerability

GHSA-2658-85cv-9wwq: Mercury: Stored / DOM Cross-Site Scripting (XSS): mr.Markdown renders untrusted content as raw, unsanitized HTML

Published
Record updated
View JSON
Affected
  • mercury >= 3.0.0, < 3.2.11
Fixed in
3.2.11
  • released September 10, 2026, 39 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Mercury's mr.Markdown widget converts input with python-markdown and no sanitization, and MarkdownWidget writes the result to the DOM via innerHTML without sanitization. When an app passes untrusted data to mr.Markdown, HTML or JavaScript in that data executes in the browser of whoever views the app, a stored or DOM-based XSS.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.