{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:diagrams:drawio:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "20.2.8"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c8013dfb8c583c5637afacc5d52b6fa7a13f91e9"
            },
            {
              "fixed": "59887e45b36f06c8dd4919a32bacd994d9f084da"
            }
          ],
          "repo": "https://github.com/jgraph/drawio",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "@huntrdev",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3127.json"
  },
  "details": "Cross-site Scripting (XSS) - Stored in GitHub repository jgraph/drawio prior to 20.2.8.",
  "id": "CVE-2022-3127",
  "modified": "2026-07-22T05:29:47.822458070Z",
  "published": "2022-09-05T12:50:09Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://huntr.dev/bounties/6cea89d1-39dc-4023-82fa-821f566b841a"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3127.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-3127"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jgraph/drawio/commit/59887e45b36f06c8dd4919a32bacd994d9f084da"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Cross-site Scripting (XSS) - Stored in jgraph/drawio"
}