{"id":"CVE-2026-134794","summary":"HedgeDoc before 1.12.1 Prototype Pollution via Note History API","details":"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.","aliases":["GHSA-3fwm-h59w-j268"],"modified":"2026-11-22T23:00:09.491534064Z","published":"2026-11-22T21:22:47.346Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-1321"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134794.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134794.json"},{"type":"PACKAGE","url":"https://github.com/hedgedoc/hedgedoc"},{"type":"ARTICLE","url":"https://github.com/hedgedoc/hedgedoc/blob/1.12.0/lib/history.js#L156-L161"},{"type":"FIX","url":"https://github.com/hedgedoc/hedgedoc/commit/47060c247fb0902aebf1fe70cba130d9de623fc2"},{"type":"ADVISORY","url":"https://github.com/hedgedoc/hedgedoc/releases/tag/1.12.1"},{"type":"ADVISORY","url":"https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-3fwm-h59w-j268"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134794"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/hedgedoc-before-1.12.1-prototype-pollution-via-note-history-api"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hedgedoc/hedgedoc","events":[{"introduced":"0"},{"fixed":"e5f937dce604ef29a74a67caa4c4a8258da7c2af"},{"fixed":"47060c247fb0902aebf1fe70cba130d9de623fc2"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"1.12.1"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"47060c247fb0902aebf1fe70cba130d9de623fc2"}]},{"original_tag":"1.12.1","range":[{"fixed":"e5f937dce604ef29a74a67caa4c4a8258da7c2af"}],"source":"REFERENCES_TAG"}]}}],"versions":["1.12.0","1.11.1","1.11.0","1.10.8","1.10.7","1.10.6","1.10.5","1.10.4","1.10.2","1.10.1","1.10.0","1.9.9","1.9.8","1.9.7","1.9.6","1.9.5","1.9.4","1.9.3","1.9.2","1.9.1","1.9.0","1.9.0-rc1","1.8.2","1.8.1","1.8.0","1.8.0-rc1","1.7.2","1.7.1","1.7.0","1.7.0-rc2","1.7.0-rc1","1.6.0","1.5.0","1.4.0","1.3.2","1.3.1","1.3.0","1.2.1","1.2.0","1.1.1-ce","1.1.0-ce","1.0.1-ce","1.0.0-ce","0.5.0","0.4.6","0.4.5","0.4.4","0.4.3","0.4.2","0.4.1","0.4.0","v0.3.4","v0.3.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-134794.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}