# CVE-2022-29183: Reflected XSS in GoCD

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-02)
- Published: 2022-05-20T19:10:11.000Z
- Modified: 2026-06-17T04:39:45.813Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- gocd gocd: >= 20.2.0, < 21.4.0
- thoughtworks gocd: from 20.2.0 before 21.4.0

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/gocd/gocd/security/advisories/GHSA-3vvq-q4qv-x2gf> (third-party-advisory)
- <https://github.com/gocd/gocd/pull/9829/commits/bda81084c0401234b168437cf35a63390e3064d1> (patch)
- <https://github.com/gocd/gocd/releases/tag/21.4.0> (release-notes, third-party-advisory)
- <https://www.gocd.org/releases/#21-4-0> (release-notes, vendor-advisory)

## Sources

- CVE List: [CVE-2022-29183](https://www.cve.org/CVERecord?id=CVE-2022-29183), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-29183](https://nvd.nist.gov/vuln/detail/CVE-2022-29183), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-29183 · Whole record: https://cve.day/CVE-2022-29183.json · Rebuilt by cve.day 2026-11-25T22:58:11.855Z
