GitHub Advisoryadvisory · Maven

GHSA-6fg4-36v7-xv32 Stored Cross-site Scripting vulnerability in Jenkins Dashboard View Plugin

MEDIUM Published 2022-03-16 Modified 2023-10-27 Official page ↗
Aliases
CVE-2022-27197
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:dashboard-view
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2022-11-30

Affected packages

• Maven org.jenkins-ci.plugins:dashboard-view: < 2.18.1 → fixed in 2.18.1

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. 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.

Related

Alias · CVE (1)

  • CVE-2022-27197 Jenkins Dashboard View Plugin 2.18 and earlier does not perform URL validation for the Iframe Portlet's Iframe source URL, resulting in a… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References