GHSA-6fg4-36v7-xv32

Suggest an improvement
Source
https://github.com/advisories/GHSA-6fg4-36v7-xv32
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-6fg4-36v7-xv32/GHSA-6fg4-36v7-xv32.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6fg4-36v7-xv32
Aliases
Published
2022-03-16T00:00:45Z
Modified
2024-02-16T08:20:11.623807Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Stored Cross-site Scripting vulnerability in Jenkins Dashboard View Plugin
Details

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.

Database specific
{
    "nvd_published_at": "2022-03-15T17:15:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-11-30T20:39:49Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:dashboard-view

Package

Name
org.jenkins-ci.plugins:dashboard-view
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/dashboard-view

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.18.1

Affected versions

2.*

2.0
2.0.1
2.0.2
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.9.1
2.9.2
2.9.3
2.9.4
2.9.5
2.9.6
2.9.7
2.9.9
2.9.10
2.9.11
2.9.12
2.10
2.11
2.12
2.12.1
2.13
2.14
2.15
2.16
2.16.1
2.17
2.17.1
2.18