CVE Watchtower

CVE-2026-58487HedgeDoc Cross-site Scripting (XSS)

NVD

Vulnerability Summary

HedgeDoc is an open source, real-time, collaborative, markdown notes application. Prior to version 1.11.0, due to unsafe handling of the local-part of registered email addresses, HedgeDoc was vulnerable to stored HTML Injection through its publish and slide views. An attacker could register a specially crafted email address and inject arbitrary HTML into pages viewed by other users. HedgeDoc accepted RFC 5321 quoted-string local-parts in email addresses during registration. The local-part was then reused as the user's display name without escaping and rendered into HTML in multiple places, including publish and slide views as well as the collaborative editor. An attacker could break out of an HTML attribute and inject arbitrary markup into the page. While the deployed Content-Security-Policy prevented straightforward inline JavaScript execution, the injected HTML was still sufficient to alter page content and embed attacker-controlled resources such as cross-origin iframes. This issue was fixed in version 1.11.0.
Severity Level
MEDIUM(5.1)
Published Date
Jul 13, 2026
Last Modified
Jul 15, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.36%Probability
Root Weakness (CWE)
The software does not neutralize user-controllable input before it is placed in output that is used as a web page.
The product prepares a structured message for communication with another component, but encoding or escaping of the data is missing or incorrect.
CVSS v4.0 Base Metrics — Score 5.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionPassive
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)Low
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)Low
Availability (Subsequent System)None

Affected & Patched Versions

Affected Versions
  • HedgeDoc <= 1.10.8
Patched Versions
  • HedgeDoc 1.11.0

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run HedgeDoc and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Jul 13, 2026Published
  • Jul 15, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new HedgeDoc CVEsYou are reading CVE-2026-58487. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 23, 2026 02:10 UTC