CVE-2022-0960 Stored XSS viva .properties file upload in star7th/showdoc

Critical 9.0 Published Updated

Attackers can inject malicious scripts via uploaded .properties files, leading to stored XSS and potential account takeover 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-0960?

CVE-2022-0960 is a critical cross-site scripting vulnerability in star7th/showdoc, published on 14 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 .properties file upload in GitHub repository star7th/showdoc prior to 2.10.4.

Weakness: CWE-79, CWE-434

Which versions are affected by CVE-2022-0960?

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-0960?

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

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

Sources

Also known as GHSA-rphc-h572-2x9f.

Is CVE-2022-0960 in your software?

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

Check your SBOMs for free