Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134794: high-severity vulnerability (CVSS 7.1) in HedgeDoc HedgeDoc.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 7.1.
Affected products and versions
HedgeDoc HedgeDoc < 1.12.1
| Product | Versions | Fixed in |
|---|---|---|
| HedgeDoc HedgeDoc | < 1.12.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-3fwm-h59w-j268 — CVE Program
- https://github.com/hedgedoc/hedgedoc/commit/47060c247fb0902aebf1fe70cba130d9de623fc2 — CVE Program
- https://github.com/hedgedoc/hedgedoc/releases/tag/1.12.1 — CVE Program
- https://github.com/hedgedoc/hedgedoc/blob/1.12.0/lib/history.js#L156-L161 — CVE Program
- https://www.vulncheck.com/advisories/hedgedoc-before-1.12.1-prototype-pollution-via-note-history-api — CVE Program
Weaknesses (CWE): CWE-1321
Relevant change history
Published
Preliminary advisory published.