5.4medium
Stored Cross-site Scripting vulnerability in Jenkins Dashboard View Plugin
- Severity
- 5.4medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.82% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-6fg4-36v7-xv32
Description
Jenkins Dashboard View Plugin 2.18 and earlier does not perform URL validation for the Iframe Portlet's Iframe source URL, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to configure views.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins Dashboard View Plugin | from unspecified up to 2.18 Not affected: 2.16.1, 2.17.1 | CVE List |
| org.jenkins-ci.plugins:dashboard-view (Maven) | before 2.18.1 | GitHub Advisory Database |
| jenkins dashboard_view | before 2.18.1 | NVD |
All scores
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
Jenkins Dashboard View Plugin 2.18 and earlier does not perform URL validation for the Iframe Portlet's Iframe source URL, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to configure views.
GitHub Advisory Database
Jenkins Dashboard View Plugin 2.18 and earlier does not perform URL validation for the Iframe Portlet's Iframe source URL, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to configure views.
Dashboard View Plugin 2.18.1 performs URL validation for the Iframe Portlet’s Iframe source URL. Additionally, Dashboard View Plugin 2.18.1 sets the sandbox attribute for the iframe to restrict the included page.
In case of problems, the Java system property hudson.plugins.view.dashboard.core.IframePortlet.sandboxAttributeValue can be used to customize the sandbox attribute value. The Java system property hudson.plugins.view.dashboard.core.IframePortlet.doNotUseSandbox can be used to disable the sandbox completely.
NVD (es)
El Plugin Jenkins Dashboard View versiones 2.18 y anteriores, no lleva a cabo una comprobación de la URL para la URL de origen del Iframe Portlet, resultando en una vulnerabilidad de tipo cross-site scripting (XSS) almacenada explotable por atacantes capaces de configurar las visualizaciones
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-27197 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6fg4-36v7-xv32 changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2022-27197 changed 2026-06-17 | Public domain |