{
  "schema_version": "1.4.0",
  "id": "GHSA-62g7-fpv9-v95f",
  "modified": "2022-10-03T22:14:32Z",
  "published": "2022-09-30T00:00:45Z",
  "aliases": [
    "CVE-2022-3355"
  ],
  "summary": "Inventree vulnerable to Stored Cross-site Scripting",
  "details": "Inventree prior to 0.8.3 is vulnerable to stored cross-site scripting by uploading SVG files. Version 0.8.3 contains a patch for this issue.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "inventree"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.8.3"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-3355"
    },
    {
      "type": "WEB",
      "url": "https://github.com/inventree/inventree/commit/5a08ef908dd5344b4433436a4679d122f7f99e41"
    },
    {
      "type": "WEB",
      "url": "https://github.com/inventree/InvenTree/releases/tag/0.8.3"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/inventree/inventree"
    },
    {
      "type": "WEB",
      "url": "https://huntr.dev/bounties/4b7fb92c-f06b-4bbf-82dc-9f013b30b6a6"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-10-03T22:14:32Z",
    "nvd_published_at": "2022-09-29T10:15:00Z"
  }
}