# Cross-site Scripting in ShowDoc

Advisory record · `GHSA-wg8p-w946-c482`

- **Identifiers:** `GHSA-wg8p-w946-c482` · `CVE-2022-0956` · `PKSA-rz1p-h48f-6y8z`
- **State:** Confirmed
- **Severity:** CVSS 7.1 High
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 16 Mar 2022
- **Updated:** 8 Nov 2023
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 16 Mar 2022, 00:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `showdoc/showdoc` (Packagist): affected `<2.10.4`; fixed in `2.10.4`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> ShowDoc versions prior to 2.10.4 are vulnerable to stored cross-site scripting through file upload. The source gives few details about the required privileges or user interaction. Upgrade showdoc/showdoc to version 2.10.4 or later.

Written 5 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.1 High, CVSS 3.0: `CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L`, from CNA (@huntrdev)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0072, the 49th percentile, on 26 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:33 UTC: First seen by agentprime
- 31 Oct 2026, 14:33 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-wg8p-w946-c482)

## Sources

- [GitHub Advisory Database: GHSA-wg8p-w946-c482](https://github.com/advisories/GHSA-wg8p-w946-c482)
- [OSV: GHSA-wg8p-w946-c482](https://osv.dev/vulnerability/GHSA-wg8p-w946-c482)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0956>
- <https://github.com/star7th/showdoc/commit/56e450c3adf75c707500d7231a78c9fc894c7f13>
- <https://github.com/star7th/showdoc>
- <https://huntr.dev/bounties/5b0e3f02-309f-4b59-8020-d7ac0f1999f2>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-wg8p-w946-c482>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-wg8p-w946-c482/>. Everything for agents: <https://agentprime.io/llms.txt>.
