CVE-2020-2217 Reflected XSS in Jenkins Compatibility Action Storage Plugin

Medium 6.1 Published Updated

Reflected XSS in Jenkins Compatibility Action Storage Plugin allows attackers to execute scripts via unescaped MongoDB content in the testConnection endpoint.

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

What is CVE-2020-2217?

CVE-2020-2217 is a medium-severity cross-site scripting vulnerability in Jenkins Compatibility Action Storage Plugin, published on 2 Jul 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Jenkins Compatibility Action Storage Plugin 1.0 and earlier does not escape the content coming from the MongoDB in the testConnection form validation endpoint, resulting in a reflected cross-site scripting (XSS) vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2020-2217?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:compatibility-action-storage. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:compatibility-action-storage MavenAll versions to 1.0None
org.jenkins-ci.plugins:compatibility-action-storage MavenAll versions to 1.0None

Products include Praqma Compatibility Action Storage.

How do I fix CVE-2020-2217?

No fix has been published for CVE-2020-2217 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-2217 being exploited?

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

Sources

Also known as GHSA-rfrq-3v89-fqg6.

Is CVE-2020-2217 in your software?

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

Check your SBOMs for free