CVE-2020-2201 Stored XSS vulnerability in Jenkins Sonargraph Integration Plugin
Stored cross-site scripting in Jenkins Sonargraph Integration Plugin allows attackers to inject malicious scripts via the Log file field.
- 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-2201?
CVE-2020-2201 is a medium-severity cross-site scripting vulnerability in Jenkins Sonargraph Integration Plugin, published on 2 Jul 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 Sonargraph Integration Plugin 3.0.0 and earlier does not escape the file path for the Log file field form validation, resulting in a stored cross-site scripting vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2020-2201?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:sonargraph-integration. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:sonargraph-integration Maven | All versions | 3.0.1 |
org.jenkins-ci.plugins:sonargraph-integration Maven | All versions | 3.0.1 |
Products include Jenkins Sonargraph Integration.
How do I fix CVE-2020-2201?
Upgrade org.jenkins-ci.plugins:sonargraph-integration to 3.0.1 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-2201 being exploited?
There is no known exploitation of CVE-2020-2201 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Sonargraph Integration Plugin
Sources
Also known as GHSA-f799-hfg3-48jp.