CVE-2026-134794 PUBLISHED

HedgeDoc before 1.12.1 Prototype Pollution via Note History API

Assigner: VulnCheck
Reserved: 22.11.2026 Published: 22.11.2026 Updated: 22.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 7.1

Product Status

Vendor HedgeDoc
Product HedgeDoc
Versions Default: unaffected
  • affected from 0 to 1.12.1 (excl.)

Credits

  • Zachariah Mithani (AploSec) finder

References

Problem Types

  • Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') CWE