medium5.4
CVE-2021-21649
Cross-site Scripting in Jenkins Dashboard View Plugin
Impact
Jenkins Dashboard View Plugin prior to 2.16 and 2.12.1 does not escape URLs referenced in Image Dashboard Portlets, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with View/Configure permission. As part of this fix, the property for image URLs was changed from `url` to `imageUrl`. Existing [Configuration as Code](https://plugins.jenkins.io/configuration-as-code/) configurations are still supported, but exports will emit the new property.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:dashboard-view | >= 2.13, < 2.16 | 2.16 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Dashboard View | through 2.15 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://www.jenkins.io/security/advisory/2021-05-11/#SECURITY-2233
- https://github.com/advisories/GHSA-jwhm-9cjm-4493
- https://nvd.nist.gov/vuln/detail/CVE-2021-21649
- https://github.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2021/21xxx/CVE-2021-21649.json
- https://github.com/jenkinsci/dashboard-view-plugin/commit/586817b081d903e47cfdd05b96b8aae1d2c2700b