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.