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)
| Product | Affected versions |
|---|---|
| HedgeDoc | before 1.12.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-3fwm-h59w-j268
- https://github.com/hedgedoc/hedgedoc/commit/47060c247fb0902aebf1fe70cba130d9de623fc2
- https://github.com/hedgedoc/hedgedoc/releases/tag/1.12.1
- https://github.com/hedgedoc/hedgedoc/blob/1.12.0/lib/history.js#L156-L161
- https://www.vulncheck.com/advisories/hedgedoc-before-1.12.1-prototype-pollution-via-note-history-api
- https://github.com/advisories/GHSA-3fw4-j296-8xff
- https://nvd.nist.gov/vuln/detail/CVE-2026-134794