NetSight
high7.1

CVE-2026-134794

HedgeDoc before 1.12.1 contains a prototype pollution vulnerability in the POST /history/:noteId endpoint that allows authenticated users to modify Object.prot…

Impact

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.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of outages.

Affected products (HedgeDoc)

ProductAffected versions
HedgeDoc
before 1.12.1

Weakness classification

References