CVE-2021-21649
JSON

5.4medium

Cross-site Scripting in Jenkins Dashboard View Plugin

Severity
5.4medium CVSS:3.1 by NVD
Exploit likelihood
72.7% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
jenkins
Also known as
GHSA-jwhm-9cjm-4493

Description

Jenkins Dashboard View Plugin 2.15 and earlier 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.

Affected

Product or packageVersionsReported by
Jenkins project Jenkins Dashboard View Pluginfrom unspecified up to 2.15
Not affected: 2.12.1
CVE List
org.jenkins-ci.plugins:dashboard-view (Maven)from 2.13 before 2.16, before 2.12.1GitHub Advisory Database
jenkins dashboard_viewup to 2.15NVD

All scores

GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N

Classification

What each source says

CVE List

Jenkins Dashboard View Plugin 2.15 and earlier 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.

GitHub Advisory Database

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.

NVD (es)

Jenkins Dashboard View Plugin versiones 2.15 y anteriores, no escapan a las URL a las que se hace referencia en los Portlets de Image Dashboard, lo que genera una vulnerabilidad de tipo cross-site scripting (XSS) almacenado que los atacantes con permiso View/Configure pueden aprovechar

References

Sources

SourceRecordLicence
CVE ListCVE-2021-21649 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-jwhm-9cjm-4493 changed 2024-02-16CC-BY-4.0
NVDCVE-2021-21649 changed 2026-06-17Public domain