CVE-2020-10203 Persistent Cross-Site scripting in Nexus Repository Manager

Medium 4.8 Published Updated

Cross-site scripting vulnerability in Sonatype Nexus Repository allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-10203?

CVE-2020-10203 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 Apr 2020. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Sonatype Nexus Repository before 3.21.2 allows XSS.

Weakness: CWE-79

Which versions are affected by CVE-2020-10203?

2 open source packages ship an affected version, including org.sonatype.nexus:nexus-core. It affects 1 product.

PackageAffectedFixed in
org.sonatype.nexus:nexus-core MavenAll versions3.21.2
org.sonatype.nexus:nexus-core MavenAll versions3.21.2

Products include Sonatype Nexus.

How do I fix CVE-2020-10203?

Upgrade org.sonatype.nexus:nexus-core to 3.21.2 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-2020-10203 being exploited?

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

Sources

Also known as GHSA-3944-787c-f852.

Is CVE-2020-10203 in your software?

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

Check your SBOMs for free