jenkinsci/code-coverage-api-plugin · Security
Stored XSS vulnerability in Code Coverage API Plugin
- GHSA ID
- GHSA-xg77-xqhq-crpr
- CVE ID
- CVE-2020-2106
- Severity
- medium
- Published
- Updated
- CVSS
- 5.4 · CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CVSS v3
- 5.4 · CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Description
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.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-2106 ↗
- https://jenkins.io/security/advisory/2020-01-29/#SECURITY-1680 ↗
- http://www.openwall.com/lists/oss-security/2020/01/29/1 ↗
- https://github.com/jenkinsci/code-coverage-api-plugin/commit/24921da6d625c4deb259049446dc2b45b1da4603 ↗
- https://github.com/advisories/GHSA-xg77-xqhq-crpr ↗