CVEvulnerability
CVE-2022-29182
5.4 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-05-20
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 4.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- CVSS 3.1 ([email protected])
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-79
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.
Affected configurations
• thoughtworks gocd (>= 19.11.0 <= 21.4.0)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/gocd/gocd/pull/10190/commits/a256d05de1445e6c77843f098581fc6a66fe4477 Patch, Third Party Advisory
- https://github.com/gocd/gocd/releases/tag/22.1.0 Release Notes, Third Party Advisory
- https://github.com/gocd/gocd/security/advisories/GHSA-qcg6-4q44-3589 Third Party Advisory
- https://www.gocd.org/releases/#22-1-0 Release Notes, Vendor Advisory
- https://github.com/gocd/gocd/pull/10190/commits/a256d05de1445e6c77843f098581fc6a66fe4477 Patch, Third Party Advisory
- https://github.com/gocd/gocd/releases/tag/22.1.0 Release Notes, Third Party Advisory
- https://github.com/gocd/gocd/security/advisories/GHSA-qcg6-4q44-3589 Third Party Advisory
- https://www.gocd.org/releases/#22-1-0 Release Notes, Vendor Advisory