CVE-2022-0966 Stored XSS via File Upload in star7th/showdoc in star7th/showdoc

Medium 6.4 Published Updated

Attackers can inject malicious scripts via file uploads in ShowDoc, potentially leading to session hijacking or code execution.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-0966?

CVE-2022-0966 is a medium-severity cross-site scripting vulnerability in star7th/showdoc, published on 15 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Stored XSS via File Upload in star7th/showdoc in GitHub repository star7th/showdoc prior to 2.4.10.

Weakness: CWE-79

Which versions are affected by CVE-2022-0966?

2 open source packages ship an affected version, including showdoc/showdoc. It affects 1 product.

PackageAffectedFixed in
showdoc/showdoc PackagistAll versions2.10.4
showdoc/showdoc PackagistAll versions2.10.4

Products include Showdoc Showdoc.

How do I fix CVE-2022-0966?

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-0966 being exploited?

There is no known exploitation of CVE-2022-0966 in the wild and no public exploit code.

Sources

Also known as GHSA-g585-j55v-38h7.

Is CVE-2022-0966 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free