CVE-2026-58487: HedgeDoc: Stored HTML injection via email local-part

Published Jul 13, 2026
·
Updated

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.

Affected Software

1 affected component
HedgeDoc HedgeDoc<1.11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade HedgeDoc to a version that resolves this vulnerability.

    Fixed in 1.11.0
  2. Operational

    After upgrading to HedgeDoc 1.11.0, review any pages that may have been affected in publish/slide views or the collaborative editor and remove/refresh any attacker-injected content from affected notes.

Event History

Jul 13, 2026
CVE Published
via MITRE·09:59 PM
Data Sourced
via MITRE·09:59 PM
DescriptionWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-58487?

CVE-2026-58487 has a medium severity rating of 5.1 on the CVSS scale.

2

How do I fix CVE-2026-58487?

To fix CVE-2026-58487, upgrade HedgeDoc to version 1.11.0 or later.

3

What type of vulnerability is CVE-2026-58487?

CVE-2026-58487 is classified as a stored HTML injection vulnerability.

4

Who is affected by CVE-2026-58487?

Users of HedgeDoc versions prior to 1.11.0 are affected by CVE-2026-58487.

5

What can attackers achieve with CVE-2026-58487?

Attackers can exploit CVE-2026-58487 to execute stored HTML injection via the publish and slide views.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203