CVE-2026-134794
HedgeDoc before 1.12.1 Prototype Pollution via Note History API
High · 7.1Fix available
- CVSS
- 7.1
- EPSS
- 0.59% (p42)
- Published
- 2026-11-22
- Age
- 7d old
- Modified
- 2026-11-24
- Product
- HedgeDoc HedgeDoc
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Description
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.
Fixed in
1.12.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | HedgeDoc | >=0, <1.12.1 | 1.12.1 |
Sources
References
- https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-3fwm-h59w-j268 vendor-advisory
- https://github.com/hedgedoc/hedgedoc/commit/47060c247fb0902aebf1fe70cba130d9de623fc2 patch
- https://github.com/hedgedoc/hedgedoc/releases/tag/1.12.1 release-notes
- https://github.com/hedgedoc/hedgedoc/blob/1.12.0/lib/history.js#L156-L161 technical-description
- https://www.vulncheck.com/advisories/hedgedoc-before-1.12.1-prototype-pollution-via-note-history-api third-party-advisory