CVE-2020-2173 XSS vulnerability in Jenkins Gatling Plugin
Attackers can execute arbitrary scripts in victim browsers by exploiting missing Content-Security-Policy headers in Jenkins Gatling reports.
- 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-2020-2173?
CVE-2020-2173 is a medium-severity cross-site scripting vulnerability in Jenkins Gatling Plugin, published on 7 Apr 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 Gatling Plugin 1.2.7 and earlier prevents Content-Security-Policy headers from being set for Gatling reports served by the plugin, resulting in an XSS vulnerability exploitable by users able to change report content.
Weakness: CWE-79
Which versions are affected by CVE-2020-2173?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:gatling. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:gatling Maven | All versions | 1.3.0 |
org.jenkins-ci.plugins:gatling Maven | All versions | 1.3.0 |
Products include Jenkins Gatling.
How do I fix CVE-2020-2173?
Upgrade org.jenkins-ci.plugins:gatling to 1.3.0 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-2173 being exploited?
There is no known exploitation of CVE-2020-2173 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Gatling Plugin
Sources
Also known as GHSA-hv53-qjg6-5pm9.