Uncaught Exception in HedgeDoc - #VU165820
Published: November 11, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by crashing the HedgeDoc server process.
The vulnerability exists due to an uncaught exception in the WebSocket selection handler in lib/ot/editor-socketio-server.js when processing invalid editor selection ranges. A remote attacker can send specially crafted selection data for a note they can edit to trigger a type error during conversion by Range.fromJSON in lib/ot/selection.js, terminating the Node.js process and making the entire instance temporarily unavailable.