CVE-2021-21649
Cross-site Scripting in Jenkins Dashboard View Plugin
Description
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 configurations are still supported, but exports will emit the new property.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins » dashboard-view | < 2.12.1>= 2.13, < 2.16 | 2.12.1, 2.16 |
Blast radius
42% of the dependent artifacts (3) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 132 |
Most used dependents
- org.jenkins-ci.plugins » vectorcast-execution0 usages
- org.jenkins-ci.plugins » vmanager-plugin0 usages
- javagh.jenkins » mashup-portlets-plugin0 usages
- org.jenkins-ci.plugins » project-build-times0 usages
- org.jenkins-ci.plugins » project-stats-plugin0 usages
- org.jenkins-ci.plugins » all-changes0 usages
- org.jenkins-ci.plugins » klocwork0 usages
Computed from the dependency graph of build 20261203.1441 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2021-21649 | nvd.nist.gov |
| Package | jenkinsci/dashboard-view-plugin | github.com |
| Web | jenkinsci/dashboard-view-plugin commit 586817b | github.com |
| Web | CVEProject/cvelist CVE-2021-21649.json | github.com |
| Web | security/advisory/2021-05-11 | jenkins.io |
