XSS in Gocd
CVE-2022-29182
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.008 (56.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 56th percentile — 56.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: +0.000
Affected products
- Gocd — versions >= 19.11.0, < 22.1.0
- Thoughtworks Gocd
Weakness classification (CWE)
References
- github.com/gocd/gocd/releases/tag/22.1.0 (Third Party Advisory, Release Notes)
- www.gocd.org/releases/ (Release Notes, Vendor Advisory)
- github.com/gocd/gocd/security/advisories/GHSA-qcg6-4q44-3589 (Third Party Advisory)
- github.com/gocd/gocd/pull/10190/commits/a256d05de1445e6c77843f098581fc6a66fe4477 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-29182?
- CVE-2022-29182 is a medium-severity vulnerability in Gocd, classified under Cross-site Scripting. CVSS score: 4.3/10. Published 2022-05-20.
- How severe is CVE-2022-29182?
- Medium severity. CVSS v3 base score is 4.3 out of 10.