Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain commit access to tracked material
-
DeliveryPush commit with HTML/URI special chars in tracking-ID
-
ExploitComment linkified into unescaped href on Compare Pipeline page
-
ExecutionPrivileged victim views page, script executes
-
ImpactHijack 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Adding a new pipeline in GoCD server version 21.3.0 has a functionality that could be abused to do an un-intended action
GoCD is a continuous delivery server. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low at
GoCD is a continuous delivery server. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low at
In GoCD, versions 19.6.0 to 21.1.0 are vulnerable to Cross-Site Request Forgery due to missing CSRF protection at the `/
Stored cross-site scripting in GoCD (versions 13.3.0 through 26.1.0) allows an authenticated user who holds write access
GoCD is an open source a continuous delivery server. Rated medium severity (CVSS 6.8), this vulnerability is remotely ex
GoCD is a continuous delivery server. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, low
GoCD is a continuous delivery server. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, low
GoCD is a continuous delivery server. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no a
GoCD is a continuous delivery server. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no a
GoCD is a continuous delivery server. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no a
GoCD is a continuous delivery server. Rated medium severity (CVSS 5.5), this vulnerability is low attack complexity. Thi
EUVD-2026-83949
NVD
CVE.org
EPSS
GitHub
Exploit-DB