medium5.4
CVE-2020-2106
Stored XSS vulnerability in Code Coverage API Plugin
Impact
Code Coverage API Plugin 1.1.2 and earlier does not escape the filename of the coverage report used in its view. This results in a stored cross-site scripting vulnerability that can be exploited by users able to change the job configuration. Code Coverage API Plugin 1.1.3 escapes the filename of the coverage report used in its view.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | io.jenkins.plugins:code-coverage-api | <= 1.1.2 | 1.1.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Code Coverage Api | through 1.1.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2020/01/29/1
- https://jenkins.io/security/advisory/2020-01-29/#SECURITY-1680
- https://github.com/advisories/GHSA-xg77-xqhq-crpr
- https://nvd.nist.gov/vuln/detail/CVE-2020-2106
- https://github.com/jenkinsci/code-coverage-api-plugin/commit/24921da6d625c4deb259049446dc2b45b1da4603