{"id":"CVE-2022-27197","aliases":["EUVD-2022-1343","GHSA-6fg4-36v7-xv32"],"status":"published","title":"Stored Cross-site Scripting vulnerability in Jenkins Dashboard View Plugin","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.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00824,"percentile":0.57645,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-03-15T16:45:40Z","modified":"2026-10-24T10:30:17Z","fixes":[{"ecosystem":"Maven","package":"org.jenkins-ci.plugins:dashboard-view","fixed_in":["2.18.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.jenkins-ci.plugins:dashboard-view","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.jenkins-ci.plugins:dashboard-view","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.1"}]}],"versions":["2.0","2.0.1","2.0.2","2.1","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","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","2.9.1","2.9.10","2.9.11","2.9.12","2.9.2","2.9.3","2.9.4","2.9.5","2.9.6","2.9.7","2.9.9"]}],"products":[{"vendor":"jenkins","product":"dashboard_view"},{"vendor":"jenkins project","product":"jenkins dashboard view plugin"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-03-15/#SECURITY-2559","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/03/15/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27197","tags":["advisory"]},{"url":"https://github.com/jenkinsci/dashboard-view-plugin/commit/942c5c78fa834a6be242f144adc2b7f045ccdbc3","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6fg4-36v7-xv32"},{"url":"https://github.com/jenkinsci/dashboard-view-plugin","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-27197","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.","status":"published","published":"2022-03-15T16:45:40Z","modified":"2024-08-03T05:25:32.462Z","updated_at":"2026-11-02T14:34:34.250357Z"}],"euvd":[{"id":"EUVD-2022-1343","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.","status":"published","published":"2022-03-15T16:45:40Z","modified":"2024-08-03T05:25:32Z","updated_at":"2026-11-03T03:25:43.539822Z"}],"ghsa":[{"id":"GHSA-6fg4-36v7-xv32","title":"Stored Cross-site Scripting vulnerability in Jenkins Dashboard View Plugin","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.\n\nDashboard View Plugin 2.18.1 performs URL validation for the Iframe Portlet’s Iframe source URL.\nAdditionally, Dashboard View Plugin 2.18.1 sets the sandbox attribute for the iframe to restrict the included page.\n\nIn 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.","status":"published","published":"2022-03-16T00:00:45Z","modified":"2023-10-27T16:59:14Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:10.633403Z"}],"nvd":[{"id":"CVE-2022-27197","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.","status":"published","published":"2022-03-15T17:15:10.077Z","modified":"2026-06-17T04:36:28.993Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:13.7085Z"}],"osv":[{"id":"CVE-2022-27197","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.","status":"published","published":"2022-03-15T17:15:10.077Z","modified":"2026-10-24T10:30:17.356620817Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:24.758293Z"},{"id":"GHSA-6fg4-36v7-xv32","title":"Stored Cross-site Scripting vulnerability in Jenkins Dashboard View Plugin","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.\n\nDashboard View Plugin 2.18.1 performs URL validation for the Iframe Portlet’s Iframe source URL.\nAdditionally, Dashboard View Plugin 2.18.1 sets the sandbox attribute for the iframe to restrict the included page.\n\nIn 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.","status":"published","published":"2022-03-16T00:00:45Z","modified":"2024-02-16T08:20:11.623807Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:39.618611Z"}]}}
