Read the docs

Prototype pollution in HedgeDoc note history API

Priority LOW 32CWE-1321Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

HedgeDoc before 1.12.1 contains a prototype pollution flaw (CWE-1321) in the POST /history/:noteId endpoint. An authenticated user with low privileges can modify Object.prototype by supplying __proto__ as the noteId, which crashes the Node.js process and denies service to all users.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00592 42nd percentileScored 2026-11-30
Fix Fixed HedgeDoc (HedgeDoc): 1.12.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
hedgedocHedgeDocbefore 1.12.11.12.1Patch availableCNA
  • HedgeDoc Vendorhedgedoc Affected before 1.12.1 Fixed in 1.12.1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:hedgedoc:hedgedoc:*:*:*:*:*:*:*:*——hedgedoc
  • cpe:2.3:a:hedgedoc:hedgedoc:*:*:*:*:*:*:*:* Versions — — ·hedgedoc

Remediation

Upgrade HedgeDoc to version 1.12.1.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

  • Fix · CNA HedgeDoc (HedgeDoc) Fixed in 1.12.1

Timeline

  1. 2026-11-22 Threatist record created from CVE-2026-134794
  2. 2026-11-23 Alias added: GHSA-3fw4-j296-8xff
  3. 2026-11-24 CISA SSVC decision points changed
  4. 2026-11-25 EPSS moved to the below the 50th percentile

References

  • TI-2023-19867 HedgeDoc API allows to hide existing notes CVSS 3.1HIGH 8.2
  • TI-2024-30379 MySQL & free URL mode allows to hide existing notes in hedgedoc CVSS 3.1MEDIUM 6.5
  • TI-2021-10188 PDF export allows arbitrary file reads CVSS 3.1CRITICAL 10.0
  • TI-2020-16108 Stored XSS in mermaid diagrams CVSS 3.1HIGH 8.7
  • TI-2026-42092 HedgeDoc: Rate-limit bypass via CF-Connecting-IP header spoofing CVSS 4.0MEDIUM 6.9
  • TI-2021-10211 Improper Neutralization of Script-Related HTML Tags in Notes CVSS 3.1HIGH 8.1
See all 18 →

Sources