{"id":"CVE-2022-29182","published":"2022-05-20T19:05:12Z","modified":"2025-04-23T18:24:22Z","title":"DOM-based XSS in GoCD","vendor":"gocd","product":"gocd","tier":"tail","description":{"text":"GoCD is a continuous delivery server. GoCD versions 19.11.0 through 21.4.0 (inclusive) are vulnerable to a Document Object Model (DOM)-based cross-site scripting attack via a pipeline run's Stage Details > Graphs tab. It is possible for a malicious script on a attacker-hosted site to execute script that will run within the user's browser context and GoCD session via abuse of a messaging channel used for communication between with the parent page and the stage details graph's iframe. This could allow an attacker to steal a GoCD user's session cookies and/or execute malicious code in the user's context. This issue is fixed in GoCD 22.1.0. There are currently no known workarounds.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00856,"percentile":0.59276,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/gocd/gocd/releases/tag/22.1.0","tags":["x_refsource_MISC"]},{"url":"https://www.gocd.org/releases/#22-1-0","tags":["x_refsource_MISC"]},{"url":"https://github.com/gocd/gocd/security/advisories/GHSA-qcg6-4q44-3589","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gocd/gocd/pull/10190/commits/a256d05de1445e6c77843f098581fc6a66fe4477","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":11.86},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"gocd","affectedVersions":[{"vendor":"gocd","product":"gocd","versions":[">= 19.11.0, < 22.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:07:08.766059Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-33577","exploited":false,"provenance":"source"}}