GitHub Advisoryadvisory · Maven
GHSA-jwhm-9cjm-4493 Cross-site Scripting in Jenkins Dashboard View Plugin
MEDIUM
Official page ↗
- Aliases
- CVE-2021-21649
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.plugins:dashboard-view
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2021-05-19
Affected packages
• Maven org.jenkins-ci.plugins:dashboard-view: >= 2.13, < 2.16 → fixed in 2.16
• Maven org.jenkins-ci.plugins:dashboard-view: < 2.12.1 → fixed in 2.12.1
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.
Related
Alias · CVE (1)
- CVE-2021-21649 Jenkins Dashboard View Plugin 2.15 and earlier does not escape URLs referenced in Image Dashboard Portlets, resulting in a stored… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-21649 advisory
- https://github.com/jenkinsci/dashboard-view-plugin/commit/586817b081d903e47cfdd05b96b8aae1d2c2700b web
- https://github.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2021/21xxx/CVE-2021-21649.json web
- https://github.com/jenkinsci/dashboard-view-plugin package
- https://www.jenkins.io/security/advisory/2021-05-11/#SECURITY-2233 web