XSS in Gocd
CVE-2022-29183
GoCD is a continuous delivery server. GoCD versions 20.2.0 until 21.4.0 are vulnerable to reflected cross-site scripting via abuse of the pipeline comparison function's error handling to render arbitrary HTML into the returned page. This could allow an attacker to trick a victim into executing code which would allow the attacker to operate on, or gain control over the same resources as the victim had access to. This issue is fixed in GoCD 21.4.0. As a workaround, block access to `/go/compare/.*` prior to GoCD Server via a reverse proxy, web application firewall or equivalent, which would prevent use of the pipeline comparison function.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.008 (53.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
Affected products
- Gocd — versions >= 20.2.0, < 21.4.0
- Thoughtworks Gocd
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC, Release Notes)
- security-advisories@github.com (x_refsource_MISC, Release Notes, Vendor Advisory)
Frequently asked questions
- What is CVE-2022-29183?
- CVE-2022-29183 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-29183?
- Medium severity. CVSS v3 base score is 4.3 out of 10.