{
  "schema_version": "1.4.0",
  "id": "GHSA-m22q-97p5-79v2",
  "modified": "2023-02-22T00:11:36Z",
  "published": "2023-02-21T00:30:20Z",
  "aliases": [
    "CVE-2021-32851"
  ],
  "summary": "Mind-elixir Cross-site Scripting vulnerability",
  "details": "Mind-elixir is a free, open source mind map core. Prior to version 0.18.1, mind-elixir is prone to cross-site scripting when handling untrusted menus. This issue is patched in version 0.18.1.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "mind-elixir"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.18.1"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32851"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ssshooter/mind-elixir-core/commit/073485269ac83af24371f35bd08507defa885655"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ssshooter/mind-elixir-core"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ssshooter/mind-elixir-core/blob/79942a68b14c8875ab7d270b1ad25bfff351b04c/src/plugin/contextMenu.js#L13"
    },
    {
      "type": "ADVISORY",
      "url": "https://securitylab.github.com/advisories/GHSL-2021-1047_Mind-elixir"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-02-22T00:11:36Z",
    "nvd_published_at": "2023-02-20T22:15:00Z"
  }
}