{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.12.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "47060c247fb0902aebf1fe70cba130d9de623fc2"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "1.12.1",
                "range": [
                  {
                    "fixed": "e5f937dce604ef29a74a67caa4c4a8258da7c2af"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e5f937dce604ef29a74a67caa4c4a8258da7c2af"
            },
            {
              "fixed": "47060c247fb0902aebf1fe70cba130d9de623fc2"
            }
          ],
          "repo": "https://github.com/hedgedoc/hedgedoc",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-3fwm-h59w-j268"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-134794",
  "modified": "2026-11-22T22:45:44.568024997Z",
  "published": "2026-11-22T21:22:47.346Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "HedgeDoc before 1.12.1 Prototype Pollution via Note History API"
}