{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "203c5ade1ed19048635704a585ef86f9d7df9250"
            }
          ],
          "repo": "https://github.com/star7th/showdoc",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "@huntrdev",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0942.json"
  },
  "details": "Stored XSS due to Unrestricted File Upload in GitHub repository star7th/showdoc prior to 2.10.4.",
  "id": "CVE-2022-0942",
  "modified": "2026-04-01T23:08:49.090242755Z",
  "published": "2022-03-15T13:40:10Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://huntr.dev/bounties/a412707c-18da-4c84-adc0-9801ed8068c9"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0942.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0942"
    },
    {
      "type": "FIX",
      "url": "https://github.com/star7th/showdoc/commit/3caa32334db0c277b84e993eaca2036f5d1dbef8"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Stored XSS due to Unrestricted File Upload in star7th/showdoc"
}