CVE-2020-2317 Stored XSS vulnerability in Jenkins FindBugs Plugin

Medium 5.4 Published Updated

Stored XSS in Jenkins FindBugs Plugin allows attackers to inject scripts via report files, potentially leading to code execution or account takeover.

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
None listed

What is CVE-2020-2317?

CVE-2020-2317 is a medium-severity cross-site scripting vulnerability in Jenkins FindBugs Plugin, published on 4 Nov 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Jenkins FindBugs Plugin 5.0.0 and earlier does not escape the annotation message in tooltips, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to provide report files to Jenkins FindBugs Plugin's post build step.

Weakness: CWE-79

Which versions are affected by CVE-2020-2317?

2 open source packages ship an affected version, including org.jvnet.hudson.plugins:findbugs. It affects 1 product.

PackageAffectedFixed in
org.jvnet.hudson.plugins:findbugs MavenAll versions to 5.0.0None
org.jvnet.hudson.plugins:findbugs MavenAll versions to 5.0.0None

Products include Jenkins Findbugs.

How do I fix CVE-2020-2317?

No fix has been published for CVE-2020-2317 yet. Limit exposure of the affected software until one is available.

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

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

Sources

Also known as GHSA-24g8-35x9-fv8r.

Is CVE-2020-2317 in your software?

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

Check your SBOMs for free