Advisory record · GHSA-2658-85cv-9wwq

Mercury: Stored / DOM Cross-Site Scripting (XSS): mr.Markdown renders untrusted content as raw, unsanitized HTML

CVSS 6.1 MediumEPSS 0.0028 · 21st percentile

Published by the GitHub Advisory Database at 19 Oct 2026, 17:01 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
mercuryPyPI>=3.0.0, <3.2.113.2.11
Identifiers
GHSA-2658-85cv-9wwq · CVE-2026-111059
Weakness (CWE)
CWE-79 · CWE-116
Published
19 Oct 2026
Updated
19 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Mercury versions 3.0.0 up to but not including 3.2.11 are affected through the mr.Markdown widget, which renders its input as raw, unsanitized HTML. If an app passes untrusted data such as user submissions or database rows to mr.Markdown, an attacker can supply script that runs in the browser of other users who view the app, and the attacker needs no account on an unauthenticated deployment. Upgrade to version 3.2.11, which is the fixed release.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.1 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0028, the 21st percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:08 UTC First seen by agentprime
  2. 31 Oct 2026, 14:08 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.