NetSight
medium5.4

CVE-2022-27197

Stored Cross-site Scripting vulnerability in Jenkins Dashboard View Plugin

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.jenkins-ci.plugins:dashboard-view< 2.18.12.18.1

Affected products

VendorProductAffected versions
JenkinsDashboard View
before 2.18.1

Weakness classification

References