Live threats

All CVEs / Thoughtworks

CVE-2022-29182Thoughtworks Gocd

Medium 5.4 No auth needed

Priority
47
CVSS 3.1
5.4
EPSS
0.9%
probability of exploitation in 30 days · percentile 59
Auth required
No
Published
May 20, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gocd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
thoughtworksgocd≥ 19.11.0 ≤ 21.4.0

Official sources

References

Links published by the sources. Open them with care.