Skip to main content

GoCD CVE-2026-52741

| EUVDEUVD-2026-83949 HIGH
Basic XSS (CWE-80)
2026-09-21 GitHub_M
7.5
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain commit access to tracked material
  2. Delivery
    Push commit with HTML/URI special chars in tracking-ID
  3. Exploit
    Comment linkified into unescaped href on Compare Pipeline page
  4. Execution
    Privileged victim views page, script executes
  5. Impact
    Hijack session or act with victim's privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTML tag escaping
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires ALL of: (1) GoCD version 18.3.0 through 25.x (fixed in 26.1.0); (2) Tracking Tool integration enabled; (3) a lenient tracking-tool regular expression containing an ID capturing group that can match URI/HTML special characters, e.g. JIRA-(.+); (4) the attacker holding commit access to a tracked material so they can author a malicious commit comment; and (5) a victim (ideally a privileged user) subsequently viewing the affected Compare Pipeline page (UI:P). Deployments WITHOUT tracking-tool integration, without an ID capturing group, or with conservative matchers that cannot match special characters are explicitly NOT affected. These layered, non-default requirements (reflected in CVSS AC:H/AT:P) sharply limit realistic exposure.

Impact

The vendor CVSS 4.0 score of 7.5 (High) is materially tempered by its own vector: while AV:N places this over the network, AC:H (high complexity), AT:P (present attack requirements), PR:L (requires commit access), and UI:P (victim must view a specific page) all indicate this is not a trivially exploitable, drive-by flaw. This is a classic stored XSS (CWE-80) whose real-world exploitability is heavily gated by non-default configuration - it only manifests when Tracking Tool integration is enabled with a lenient regex containing an ID capturing group. No EPSS score, KEV listing, or POC is present in the provided data, so this is best characterized as no public exploit identified at time of analysis; there is no evidence of active exploitation and it should be treated as a config-dependent, moderate-priority patch rather than an emergency. The impact side is legitimately serious where the preconditions are met (VC:H/VI:H - privileged session theft or actions as the victim), so environments running GoCD 18.3.0-25.x with JIRA-style tracking tools should prioritize the 26.1.0 upgrade; environments without tracking-tool integration are not affected at all.

Exploit ScenarioDerived

An attacker with commit access to a material tracked by a GoCD pipeline that uses a lenient tracking-tool regex (e.g. JIRA-(.+)) pushes a commit whose message embeds URI/HTML special characters into the matched ID. When a privileged user later opens the Compare Pipeline page and the comment is linkified into an unescaped tracking-tool link, the injected script executes in their browser, exposing their session or enabling actions with their credentials. No public POC is referenced, though the fix commit and PR test cases demonstrate the injection payload.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 21, 2026

Stored cross-site scripting in GoCD's Compare Pipeline page affects versions 18.3.0 through 25.x and allows an attacker holding commit access to a tracked material to inject URI or HTML special characters into a commit comment that GoCD later renders as an unescaped tracking-tool link. Successful exploitation within a victim's browser session can expose a privileged user's session or permit changes performed with that victim's credentials and privileges, though the CVSS 4.0 vector (AC:H/AT:P/PR:L/UI:P) and the layered prerequisites make this a non-trivial, non-drive-by issue. The flaw is fixed in GoCD 26.1.0, and no public exploit has been identified at time of analysis.

RemediationAI

Apply the vendor-released patch by upgrading GoCD to 26.1.0, which URI-encodes tracking IDs and escapes the generated href so special characters in commit comments no longer break out of the anchor attribute; see the advisory at https://github.com/gocd/gocd/security/advisories/GHSA-hj3c-q23m-fxcg, the fixing PR https://github.com/gocd/gocd/pull/14356, commit https://github.com/gocd/gocd/commit/1adba7ded0b9ef57e29f1de876a882199e5da1d4, and the release notes at https://github.com/gocd/gocd/releases/tag/26.1.0 and https://www.gocd.org/releases/#26-1-0. Where an immediate upgrade is not possible, the highest-value compensating control is to harden the Tracking Tool regular expression: remove the ID capturing group or replace a permissive matcher such as JIRA-(.+) with a conservative, character-restricted pattern such as JIRA-\d+, which cannot match the URI or HTML metacharacters needed for injection at the cost of no longer linkifying unusual ticket formats. Alternatively, disable Tracking Tool integration entirely on affected pipelines, accepting the loss of automatic commit-comment linkification. Reducing who holds commit access to tracked materials narrows the pool of potential attackers but does not eliminate the flaw for existing collaborators, and because the payload is persistent in the repository history, simply browsing the Compare Pipeline page as a privileged user should be avoided until either the patch or a matcher restriction is in place; note that the stored payload remains in commit history even after patching, so administrators may wish to review or amend affected commit comments.

Affected VersionsENISA

gocd 18.3.0, < 26.1.0

Affected Packages

euvd gocd_18_3_0 fix: 26.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a CWE-80 (improper neutralization of script-related HTML tags in a web page) flaw rooted in GoCD's Tracking Tool linkification feature, implemented in the Rails/webpack frontend helper server/src/main/webapp/WEB-INF/rails/webpack/helpers/render_comment.ts. When a project configures a Tracking Tool with a lenient regular expression containing an ID capturing group (for example JIRA-(.+)), GoCD extracts the captured tracking ID from a commit comment and substitutes it into the tracking tool's link template at the ${ID} placeholder before emitting an anchor element. Prior to the fix, the branch that handled matches with a capturing group inserted the raw captured value into the href attribute without HTML-escaping or URI-encoding it, so an attacker-controlled identifier containing characters such as \" > <svg/onload= could break out of the attribute and inject markup rendered when a user opens the Compare Pipeline page. The upstream fix (PR 14356, commit 1adba7d) reworks the renderComment logic to URI-encode the identifier with encodeURIComponent, to apply _.escape() to the resulting href, and to avoid double-encoding already-encoded template links; accompanying spec changes in comment_render_widget_spec.js cover both the no-capturing-group and capturing-group paths as well as UTF-8 identifiers. The affected component is the GoCD server (CPE cpe:2.3:a:gocd:gocd:*:*:*:*:*:*:*:*), and the attack path is entirely client-side rendering after a malicious commit comment has been committed to a tracked material.

Know when Gocd gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.5 HIGH
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
vuln.today AI 7.7 HIGH

Requires commit access (PR:L), a specific non-default tracking-tool regex config and victim page view (AC:H, UI:R); stored XSS executes in another user's browser (S:C) enabling session theft and actions (C:H/I:H), no availability impact.

3.1 AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 21, 2026 - 16:16 EUVD
CVE Published
Sep 21, 2026 - 14:57 cve.org
HIGH 7.5

DescriptionCVE.org

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.

Technical POC Analysis

Evidence base: GHSA-hj3c-q23m-fxcg only.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

GoCD's Compare Pipeline page contains a high-severity stored cross-site scripting vulnerability affecting versions 18.3.0 through 25.x. An authenticated attacker with commit access to a tracked repository can inject malicious content into commit comments, which then executes in a privileged user's browser session, potentially leading to session compromise or unauthorized pipeline modifications. Because GoCD orchestrates software delivery, this flaw poses a supply chain risk and requires immediate remediation to protect release integrity and sensitive build credentials.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
niche self-hosted open-source CI/CD server, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Gocd

View all
CVE-2021-44659 CRITICAL POC
9.8 Dec 22

Adding a new pipeline in GoCD server version 21.3.0 has a functionality that could be abused to do an un-intended action

CVE-2022-39311 HIGH
8.8 Oct 14

GoCD is a continuous delivery server. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low at

CVE-2022-29184 HIGH
8.8 May 20

GoCD is a continuous delivery server. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low at

CVE-2021-25924 HIGH
8.8 Apr 01

In GoCD, versions 19.6.0 to 21.1.0 are vulnerable to Cross-Site Request Forgery due to missing CSRF protection at the `/

CVE-2026-68919 HIGH
7.0 Sep 21

Stored cross-site scripting in GoCD (versions 13.3.0 through 26.1.0) allows an authenticated user who holds write access

CVE-2022-24832 MEDIUM
6.8 Apr 11

GoCD is an open source a continuous delivery server. Rated medium severity (CVSS 6.8), this vulnerability is remotely ex

CVE-2022-39310 MEDIUM
6.5 Oct 14

GoCD is a continuous delivery server. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, low

CVE-2022-39309 MEDIUM
6.5 Oct 14

GoCD is a continuous delivery server. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, low

CVE-2024-28866 MEDIUM
6.1 May 14

GoCD is a continuous delivery server. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no a

CVE-2022-29183 MEDIUM
6.1 May 20

GoCD is a continuous delivery server. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no a

CVE-2022-39308 MEDIUM
5.9 Oct 14

GoCD is a continuous delivery server. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no a

CVE-2022-36088 MEDIUM
5.5 Sep 07

GoCD is a continuous delivery server. Rated medium severity (CVSS 5.5), this vulnerability is low attack complexity. Thi

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy