CVE-2026-134794: HedgeDoc before 1.12.1 Prototype Pollution via Note History API

Published Nov 22, 2026
·
Updated

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.

Affected Software

1 affected component
HedgeDoc HedgeDoc<1.12.1

Event History

Nov 22, 2026
CVE Published
via MITRE·09:22 PM
Data Sourced
via MITRE·09:22 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness
Event
via NVD·10:17 PM

Frequently Asked Questions

1

Who can exploit this issue?

Any authenticated HedgeDoc user can exploit it by sending a request to the note history endpoint with __proto__ as the noteId. No user interaction is required.

2

What is the practical impact of successful exploitation?

An attacker can modify Object.prototype through the affected endpoint and crash the Node.js process. This causes denial of service for all users of the HedgeDoc instance.

3

Are installations running the fixed release affected?

No. The issue affects HedgeDoc versions before 1.12.1; upgrading to version 1.12.1 removes the affected behavior.

4

How can I determine whether an instance is vulnerable?

An instance is vulnerable if it runs a HedgeDoc version earlier than 1.12.1 and exposes the POST /history/:noteId endpoint to authenticated users. Requests targeting /history/__proto__ with a pinned value are the relevant exploitation pattern.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203