Read the docs
TI-2026-42091 Aliases CVE-2026-58487

HedgeDoc: Stored HTML injection via email local-part

Priority LOW 24CWE-116Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00492 42nd percentileScored 2026-11-07
Fix Fixed hedgedoc (hedgedoc): 1.11.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
hedgedochedgedocbefore 1.11.01.11.0Patch availableCNA
  • hedgedoc Vendorhedgedoc Affected before 1.11.0 Fixed in 1.11.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:hedgedoc:hedgedoc:*:*:*:*:*:*:*:*——hedgedoc
  • cpe:2.3:a:hedgedoc:hedgedoc:*:*:*:*:*:*:*:* Versions — — ·hedgedoc

Remediation

  • Fix · CNA hedgedoc (hedgedoc) Fixed in 1.11.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-58487

References

  • TI-2023-19867 HedgeDoc API allows to hide existing notes CVSS 3.1HIGH 8.2
  • TI-2024-30379 MySQL & free URL mode allows to hide existing notes in hedgedoc CVSS 3.1MEDIUM 6.5
  • TI-2021-10188 PDF export allows arbitrary file reads CVSS 3.1CRITICAL 10.0
  • TI-2020-16108 Stored XSS in mermaid diagrams CVSS 3.1HIGH 8.7
  • TI-2026-42092 HedgeDoc: Rate-limit bypass via CF-Connecting-IP header spoofing CVSS 4.0MEDIUM 6.9
  • TI-2021-10211 Improper Neutralization of Script-Related HTML Tags in Notes CVSS 3.1HIGH 8.1
See all 17 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences