HedgeDoc before 1.12.1 contains a prototype pollution vulnerability in the POST /history/:noteId endpoint that allows authenticated users to modify Object.prototype by supplying proto as the noteId. Attackers can send a pinned value to /history/proto, which historyPost() in lib/history.js assigns onto the prototype, crashing the Node.js process and causing denial of service for all users.