Skip to main content

HedgeDoc CVE-2026-134794

| EUVDEUVD-2026-132869 HIGH
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-11-22 VulnCheck GHSA-3fw4-j296-8xff
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as HedgeDoc user
  2. Delivery
    Send POST /history/__proto__ with pinned value
  3. Exploit
    Inherited __proto__ treated as existing entry
  4. Execution
    Assignment pollutes Object.prototype
  5. Impact
    Node.js process crashes, service DoS for all users

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated HedgeDoc account (PR:L) on an instance that actively uses user accounts - the advisory explicitly states anonymous-only deployments (anonymous note creation/editing without login) are not impacted, which is the primary limiting factor. The concrete trigger is a POST request to the note-history endpoint /history/:noteId using __proto__ as the noteId with a pinned value, which historyPost() in lib/history.js assigns onto Object.prototype. No special non-default configuration is needed beyond having user accounts enabled; no user interaction is required. The only complete fix is upgrading to 1.12.1; where upgrading is not possible, the vendor states an HTTP reverse proxy can restrict access to the authenticated note-history modification endpoint, at the cost of disabling history mutation for signed-in users.

Impact

This is a credible, patch-this-week issue rather than a critical emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms network-reachable, low-complexity exploitation with no user interaction, but PR:L means the attacker must hold a valid authenticated HedgeDoc account - so this is not a drive-by unauthenticated flaw. Impact is confined to availability (VA:H; VC:N/VI:N/VA:H), consistent with the described denial of service: no data is read or altered. The vuln.today decision label is 'this_week', which aligns with a real but non-urgent DoS. No CISA KEV entry is present in the input and no EPSS score was supplied, so there is no evidence of active exploitation or a quantified exploitation probability; treat urgency as driven by ease of exploitation for any logged-in user, not by observed attacks. The key limiting factor is authentication plus the requirement that the instance actually uses user accounts - the advisory notes that anonymous-only deployments are not impacted, which meaningfully narrows the exposed population.

Exploit ScenarioDerived

An attacker who can register or already holds a HedgeDoc account sends a POST to /history/__proto__ with a pinned value; historyPost() in lib/history.js treats the inherited __proto__ property as an existing entry and writes onto Object.prototype, returning HTTP 500 and crashing the Node.js process so the service becomes unavailable to all users. No public, verified exploit code is referenced in the input, though the mechanism is fully documented in the vendor advisory and patch diff. Because complexity is low and no user interaction is needed, any authenticated user can trigger it trivially.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 22, 2026

Authenticated users of HedgeDoc 1.12.0 and earlier can crash the server's Node.js process by sending a POST to the note-history endpoint with __proto__ as the noteId, polluting Object.prototype process-wide and causing a denial of service for all users on the instance. The flaw is in historyPost() in lib/history.js, where an existence check on the note history object accepts inherited properties; the pinned value is then written onto the shared prototype. Only instances that actively use user accounts are affected - deployments limited to anonymous note creation and editing are not - and the issue is fixed in HedgeDoc 1.12.1; no public exploit was identified at time of analysis.

RemediationAI

Vendor-released patch: HedgeDoc 1.12.1 (commit 47060c247fb0902aebf1fe70cba130d9de623fc2) - upgrade from any 1.x version up to and including 1.12.0 as the only complete fix; release notes are at https://github.com/hedgedoc/hedgedoc/releases/tag/1.12.1 and details at https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-3fwm-h59w-j268. Where upgrading is not immediately possible, the vendor's stated workaround is to place an HTTP reverse proxy in front of HedgeDoc and restrict access to the authenticated note-history modification endpoint (POST /history/:noteId, the path abused via /history/__proto__); the trade-off is that mutating history - adding entries and changing pinned state - stops working for signed-in users. Note that anonymous-only deployments, which do not use user accounts, are not exposed to this attack path per the advisory.

Affected VersionsENISA

hedgedoc 0 <1.12.1

Affected Packages

euvd hedgedoc fix: 1.12.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

HedgeDoc 1.x persists each user's note history as a stringified JSON string in its database, so updating history (adding an entry or toggling a note's pinned state) involves parsing that JSON into a plain JavaScript object and re-stringifying it. In lib/history.js, historyPost() checks whether history[noteId] exists before modifying the referenced object's pinned property. Because that check is a plain property lookup rather than an own-property test, inherited properties satisfy it, and the reserved name __proto__ resolves to Object.prototype on an ordinary object. Supplying __proto__ as the noteId therefore writes attacker-controlled data (the pinned value) onto the process-wide prototype - a prototype pollution instance of CWE-1321. The result is immediate instability: the request returns HTTP 500 and subsequent requests crash the Node.js process because the polluted Object is shared across all requests in the single process. The upstream fix (commit 47060c247fb0902aebf1fe70cba130d9de623fc2) hardens the code path in three places: history objects are created with Object.create(null) in getHistory() and parseHistoryToArray(), and historyPost() now gates on Object.prototype.hasOwnProperty.call(history, noteId) before dereferencing an entry. The trigger described by the vendor is a pinned value sent to /history/__proto__; the authentication prerequisite is confirmed by the CVSS vector (PR:L), and no non-default configuration beyond enabled user accounts is required.

Know when Hedgedoc gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.1 HIGH
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
vuln.today AI 6.5 MEDIUM

Remotely reachable endpoint (AV:N) with a trivial fixed payload (AC:L), but a valid user account is required (PR:L); impact is process crash only, so C:N/I:N/A:H and scope unchanged.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

Vectors: GHSA-3fwm-h59w-j268 (published Nov 4, 2026, CVSS v4 7.0, CWE-1321), patch commit 47060c2.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

HedgeDoc versions up to 1.12.0 are vulnerable to a denial-of-service attack that allows any authenticated user to crash the entire server, disrupting collaboration for all users. This affects organizations relying on HedgeDoc for real-time note editing with user accounts, and while no public exploit exists yet, the risk of internal misuse or targeted attacks is significant.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 45% exploitable
Prevalence
Low
niche self-hosted open-source collaborative markdown editor, limited enterprise footprint
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2020-26287 HIGH POC
8.7 Dec 29

HedgeDoc is a collaborative platform for writing and sharing markdown. Rated high severity (CVSS 8.7), this vulnerabilit

CVE-2023-38487 HIGH POC
8.2 Aug 04

HedgeDoc is software for creating real-time collaborative markdown notes. Rated high severity (CVSS 8.2), this vulnerabi

CVE-2024-45308 MEDIUM POC
6.5 Sep 02

HedgeDoc is an open source, real-time, collaborative, markdown notes application. Rated medium severity (CVSS 6.5), this

CVE-2021-21259 MEDIUM POC
6.1 Jan 22

HedgeDoc is open source software which lets you create real-time collaborative markdown notes. Rated medium severity (CV

CVE-2021-29475 CRITICAL
10.0 Apr 26

HedgeDoc (formerly known as CodiMD) is an open-source collaborative markdown editor. Rated critical severity (CVSS 10.0)

CVE-2021-29474 MEDIUM POC
5.8 Apr 26

HedgeDoc (formerly known as CodiMD) is an open-source collaborative markdown editor. Rated medium severity (CVSS 5.8), t

CVE-2026-58486 HIGH
8.3 Jul 13

Denial of service in HedgeDoc before 1.11.0 lets a user who can store a note crash the instance by embedding a YAML "ali

CVE-2020-26286 HIGH
7.5 Dec 29

HedgeDoc is a collaborative platform for writing and sharing markdown. Rated high severity (CVSS 7.5), this vulnerabilit

CVE-2026-58488 MEDIUM
6.9 Jul 13

Rate-limiting bypass in HedgeDoc prior to 1.11.0 permits unauthenticated remote attackers to circumvent brute-force prot

CVE-2026-58489 MEDIUM
6.8 Jul 13

HedgeDoc's GitHub Gist export feature exposes private and protected note content to attacker-controlled GitHub accounts

CVE-2025-32391 MEDIUM POC
6.4 Apr 10

HedgeDoc is an open source, real-time, collaborative, markdown notes application. Rated medium severity (CVSS 6.4), this

CVE-2021-39175 MEDIUM
6.1 Aug 30

HedgeDoc is a platform to write and share markdown. Rated medium severity (CVSS 6.1), this vulnerability is remotely exp

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy