AploSec / Disclosures / CVE-2026-134794

High 7.1ReportedFixed in 1.12.1CWE-1321Server

HedgeDoc before 1.12.1 Prototype Pollution via Note History API

CVE-2026-134794 · published 2026-11-22

In plain words: this type of bug lets someone change parts of the application's data they should not be able to set (prototype pollution or mass assignment). A fixed release is listed.

Summary

CVE-2026-134794 affects HedgeDoc (Server) < 1.12.1: Prototype Pollution via Note History API (CWE-1321). Fixed in 1.12.1. CVSS 4.0 base score 7.1 (High), assigned by VulnCheck. Published 2026-11-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade HedgeDoc to 1.12.1 or later. Releases in the affected range (< 1.12.1) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-11-22 CVE published

References

Severity
High 7.1CVSS 4.0, scored by VulnCheck in the CVE record
Package
HedgeDoc
Ecosystem
Server
Affected
< 1.12.1
Fixed
1.12.1
Weakness
CWE-1321
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder