CVE-2022-0965 Stored XSS viva .ofd file upload in star7th/showdoc
Attackers can inject malicious scripts via uploaded OFD files, potentially stealing user sessions or executing code in ShowDoc.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-0965?
CVE-2022-0965 is a critical cross-site scripting vulnerability in star7th/showdoc, published on 15 Mar 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Stored XSS viva .ofd file upload in GitHub repository star7th/showdoc prior to 2.10.4.
Weakness: CWE-79
Which versions are affected by CVE-2022-0965?
2 open source packages ship an affected version, including showdoc/showdoc. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
showdoc/showdoc Packagist | All versions | 2.10.4 |
showdoc/showdoc Packagist | All versions | 2.10.4 |
Products include Showdoc Showdoc.
How do I fix CVE-2022-0965?
Upgrade showdoc/showdoc to 2.10.4 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-0965 being exploited?
There is no known exploitation of CVE-2022-0965 in the wild and no public exploit code.
Other vulnerabilities in star7th/showdoc
- CVE-2021-41745 Showdoc File Upload Vulnerability
- CVE-2021-36440 Unrestricted File Upload in ShowDoc v2.9.5
- CVE-2022-0942 Stored XSS due to Unrestricted File Upload in star7th/showdoc
- CVE-2022-1034 There is a Unrestricted Upload of File vulnerability in ShowDoc v2.10.3 in star7th/showdoc
- CVE-2022-0945 Stored XSS viva axd and cshtml file upload in star7th/showdoc in star7th/showdoc
Sources
Also known as GHSA-v8mp-hhjq-h4cj.