Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as HedgeDoc user
-
DeliverySend POST /history/__proto__ with pinned value
-
ExploitInherited __proto__ treated as existing entry
-
ExecutionAssignment pollutes Object.prototype
-
ImpactNode.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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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.
Articles & Coverage 1
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
HedgeDoc is a collaborative platform for writing and sharing markdown. Rated high severity (CVSS 8.7), this vulnerabilit
HedgeDoc is software for creating real-time collaborative markdown notes. Rated high severity (CVSS 8.2), this vulnerabi
HedgeDoc is an open source, real-time, collaborative, markdown notes application. Rated medium severity (CVSS 6.5), this
HedgeDoc is open source software which lets you create real-time collaborative markdown notes. Rated medium severity (CV
HedgeDoc (formerly known as CodiMD) is an open-source collaborative markdown editor. Rated critical severity (CVSS 10.0)
HedgeDoc (formerly known as CodiMD) is an open-source collaborative markdown editor. Rated medium severity (CVSS 5.8), t
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
HedgeDoc is a collaborative platform for writing and sharing markdown. Rated high severity (CVSS 7.5), this vulnerabilit
Rate-limiting bypass in HedgeDoc prior to 1.11.0 permits unauthenticated remote attackers to circumvent brute-force prot
HedgeDoc's GitHub Gist export feature exposes private and protected note content to attacker-controlled GitHub accounts
HedgeDoc is an open source, real-time, collaborative, markdown notes application. Rated medium severity (CVSS 6.4), this
HedgeDoc is a platform to write and share markdown. Rated medium severity (CVSS 6.1), this vulnerability is remotely exp
EUVD-2026-132869
GHSA-3fw4-j296-8xff
NVD
CVE.org
EPSS
Exploit-DB