# CVE-2022-0942: Stored XSS due to Unrestricted File Upload in star7th/showdoc

- Severity: Critical 9.4 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-15T13:40:10.000Z
- Modified: 2026-06-17T04:21:31.387Z
- Also known as: GHSA-9fcc-7g44-mxrj
- Weaknesses: CWE-79
- Assigned by: @huntrdev

## Description

Stored XSS due to Unrestricted File Upload in GitHub repository star7th/showdoc prior to 2.10.4.

(As written by CVE List.)

## Affected

- star7th star7th/showdoc: from unspecified before 2.10.4
- showdoc/showdoc (Packagist): before 2.10.4
- showdoc showdoc: up to 2.10.3

## Every score

- @huntrdev: CVSS:3.0 9.4 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://huntr.dev/bounties/a412707c-18da-4c84-adc0-9801ed8068c9> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/star7th/showdoc/commit/3caa32334db0c277b84e993eaca2036f5d1dbef8> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0942> (advisory)
- <https://github.com/star7th/showdoc> (package)

## Sources

- CVE List: [CVE-2022-0942](https://www.cve.org/CVERecord?id=CVE-2022-0942), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-9fcc-7g44-mxrj](https://github.com/advisories/GHSA-9fcc-7g44-mxrj), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-0942](https://nvd.nist.gov/vuln/detail/CVE-2022-0942), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0942 · Whole record: https://cve.day/CVE-2022-0942.json · Rebuilt by cve.day 2026-11-25T22:58:10.103Z
