{"id":"CVE-2022-29182","state":"PUBLISHED","title":"DOM-based XSS in GoCD","description":"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.","publishedAt":"2022-05-20T19:05:12.000Z","updatedAt":"2025-04-23T18:24:22.250Z","severity":{"score":4.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["gocd gocd"],"affected":[{"vendor":"gocd","product":"gocd","versions":[{"version":">= 19.11.0, < 22.1.0","status":"affected"}]}],"references":["https://github.com/gocd/gocd/releases/tag/22.1.0","https://www.gocd.org/releases/#22-1-0","https://github.com/gocd/gocd/security/advisories/GHSA-qcg6-4q44-3589","https://github.com/gocd/gocd/pull/10190/commits/a256d05de1445e6c77843f098581fc6a66fe4477"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:49:57.813Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/29xxx/CVE-2022-29182.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-29182","state":"PUBLISHED","datePublished":"2022-05-20T19:05:12.000Z","dateUpdated":"2025-04-23T18:24:22.250Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-04-13T00:00:00.000Z"},"containers":{"cna":{"title":"DOM-based XSS in GoCD","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"gocd","product":"gocd","versions":[{"version":">= 19.11.0, < 22.1.0","status":"affected"}]}],"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"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2022-05-20T19:05:12.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-qcg6-4q44-3589","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-29182","STATE":"PUBLIC","TITLE":"DOM-based XSS in GoCD"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"gocd","version":{"version_data":[{"version_value":">= 19.11.0, < 22.1.0"}]}}]},"vendor_name":"gocd"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"name":"https://github.com/gocd/gocd/releases/tag/22.1.0","refsource":"MISC","url":"https://github.com/gocd/gocd/releases/tag/22.1.0"},{"name":"https://www.gocd.org/releases/#22-1-0","refsource":"MISC","url":"https://www.gocd.org/releases/#22-1-0"},{"name":"https://github.com/gocd/gocd/security/advisories/GHSA-qcg6-4q44-3589","refsource":"CONFIRM","url":"https://github.com/gocd/gocd/security/advisories/GHSA-qcg6-4q44-3589"},{"name":"https://github.com/gocd/gocd/pull/10190/commits/a256d05de1445e6c77843f098581fc6a66fe4477","refsource":"MISC","url":"https://github.com/gocd/gocd/pull/10190/commits/a256d05de1445e6c77843f098581fc6a66fe4477"}]},"source":{"advisory":"GHSA-qcg6-4q44-3589","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/gocd/gocd/releases/tag/22.1.0","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.gocd.org/releases/#22-1-0","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/gocd/gocd/security/advisories/GHSA-qcg6-4q44-3589","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/gocd/gocd/pull/10190/commits/a256d05de1445e6c77843f098581fc6a66fe4477","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T06:17:54.073Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-23T14:07:08.766059Z","id":"CVE-2022-29182","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-23T18:24:22.250Z"}}]}}}