~ / search / GHSA-6fg4-36v7-xv32

GHSA-6fg4-36v7-xv32

Stored Cross-site Scripting vulnerability in Jenkins Dashboard View Plugin

Source: GitHub Advisory Database (reviewed) Moderate CVE-2022-27197

Packages

EcosystemPackageAffectedFixed in
Maven org.jenkins-ci.plugins:dashboard-view < 2.18.1 2.18.1

Details

As written in the advisory (Markdown source, shown as plain text).

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](https://www.jenkins.io/doc/book/managing/system-properties/) `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.

References

External links from the advisory. They lead to third-party sites.