{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.1.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "31a2af452c5a576af018901259f50ff039d2eb86"
            }
          ],
          "repo": "https://github.com/zhaopengme/gitnote",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "gitnote 3.1.0 allows remote attackers to execute arbitrary code via a crafted Markdown file, as demonstrated by a javascript:window.parent.top.require('child_process').execFile substring in the onerror attribute of an IMG element.",
  "id": "CVE-2019-9785",
  "modified": "2026-03-13T21:48:30.550220149Z",
  "published": "2019-03-14T14:29:00.257Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://github.com/CCCCCrash/POCs/tree/master/Web/gitnote"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/zhaopengme/gitnote/issues/209"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}