ADVISORIES

GitHub Advisory Database

GHSA-jwhm-9cjm-4493

Cross-site Scripting in Jenkins Dashboard View Plugin

Moderate CVE-2021-21649

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.jenkins-ci.plugins:dashboard-view
From 2.13 before 2.16 (fixed in 2.16)
Mavenorg.jenkins-ci.plugins:dashboard-view
All versions before 2.12.1 (fixed in 2.12.1)

References