Vulnerability · Published Sep 21, 2026 · Assigned by GitHub_M
CVE-2026-52741GoCD has stored XSS possible via tracking tool link highlighting on Compare Pipeline pages
High 7.5
In plain English
A high-severity security flaw in gocd from gocd. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities).
Official description
GoCD is a continuous deliver server. From 18.3.0 until 26.1.0, GoCD can generate unescaped tracking-tool links from commit comments when a project uses a lenient Tracking Tool regular expression with an ID capturing group, such as JIRA-(.+). An attacker with commit access to a tracked material can place URI or HTML special characters in a matching commit comment, causing stored cross-site scripting when a victim views an affected Compare Pipeline page. Deployments without Tracking Tool integration, without an ID capturing group, or with conservative matchers that cannot match special characters are not affected. Successful exploitation can expose a privileged user session or allow changes using the victim's credentials and privileges. This issue is fixed in version 26.1.0.
Affected products (as reported)
Weakness: CWE-80 · Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
References
- https://github.com/gocd/gocd/security/advisories/GHSA-hj3c-q23m-fxcg x_refsource_CONFIRM
- https://github.com/gocd/gocd/pull/14356 x_refsource_MISC
- https://github.com/gocd/gocd/commit/1adba7ded0b9ef57e29f1de876a882199e5da1d4 x_refsource_MISC
- https://github.com/gocd/gocd/releases/tag/26.1.0 x_refsource_MISC
- https://www.gocd.org/releases/#26-1-0 x_refsource_MISC