CVE-2026-134794

HedgeDoc before 1.12.1 Prototype Pollution via Note History API

Published Nov 22, 2026 CVSS 4.0 · 7.1 High EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The POST /history/:noteId endpoint allows an authenticated user to supply the string "__proto__" as the noteId. The request body is then merged into Object.prototype, which causes the Node.js process to crash and results in a denial of service for every user. The flaw is a prototype pollution vulnerability (CWE-1321), leading to instability of the application.

Affected Systems

HedgeDoc installations running any version prior to 1.12.1, including 1.12.0 and earlier releases. The vulnerability impacts the core Note History API; users should verify their HedgeDoc version against the 1.12.1 release notes, which contain a fix that validates noteId values and prevents prototype pollution.

Risk and Exploitability

The CVSS score of 7.1 indicates a high impact for denial of service. The EPSS score is not available, but the attack requires authentication and any user with normal access can trigger the crash. The vulnerability is not listed in CISA’s KEV catalog, so public exploit code may not yet exist, but the described attacker model demonstrates real risk. Immediate patching is the recommended response to mitigate this denial of service vector.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update HedgeDoc to version 1.12.1 or later to receive the fixed Note History API.
  • Ensure that only authorized users have access to the /history/:noteId endpoint by configuring authentication and role‑based access controls.
  • If a patch cannot be applied immediately, restrict or disable the note history API endpoint to prevent authenticated users from reaching the vulnerable code path.
  • Apply input validation to reject noteId values containing "__proto__" or other prototype property names until a patch is available.

Generated by OpenCVE AI on November 22, 2026 at 22:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title HedgeDoc before 1.12.1 Prototype Pollution via Note History API
First Time appeared Hedgedoc
Hedgedoc hedgedoc
Weaknesses CWE-1321
CPEs cpe:2.3:a:hedgedoc:hedgedoc:*:*:*:*:*:*:*:*
Vendors & Products Hedgedoc
Hedgedoc hedgedoc
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 7.1, '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'}

Weaknesses
  • CWE-1321

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 22, 2026, 9:22 PM
Reserved
Nov 22, 2026, 5:09 PM
Status
Deferred
Published
Nov 22, 2026, 10:17 PM
Modified
Nov 22, 2026, 10:17 PM