Skip to main content

GoCD CVE-2026-68919

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

Attack ChainAIDerived

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

  1. Access
    Authenticate with material write access
  2. Delivery
    Store forged package-material trackback comment with JS payload
  3. Exploit
    Victim opens Stage/VSM/Pipeline-History page
  4. Execution
    Script executes in privileged browser session
  5. Impact
    Hijack session or act as victim

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 an authenticated GoCD account with write access to a material tracked by the server (PR:L) so the attacker can inject a modification/commit comment forged to imitate the package-material trackback JSON format. Exploitation is limited by the need for victim user interaction (UI:P): a privileged user must subsequently view a page that actually renders the malicious comment - specifically Stage Detail, Job/Build Detail, Value Stream Map, or Pipeline History - and GoCD does not render every material comment in every view, so payload placement and victim navigation are not guaranteed. Affected versions are 13.3.0 up to (not including) 26.1.0; upgrading to 26.1.0 removes the flaw.

Impact

This is a genuine but bounded stored-XSS risk, not a drop-everything emergency. The vendor CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:H/VA:L, base 7.0 HIGH) reflects authenticated write access (PR:L), required victim interaction (UI:P), and low confidentiality/availability impact - the VI:H (high integrity) rating appears aggressive for a reflected/stored XSS whose CWE-80 impact is script execution in a browser session; a C:L/I:L characterization is more defensible. No EPSS score, no CISA KEV listing, and no public POC were provided, so exploitation status is 'no public exploit identified at time of analysis' - there is no SSVC or automation signal indicating mass exploitation. The realistic risk is targeted, insider-style abuse (an attacker must already hold write access to a tracked material) combined with a social/timing element (a privileged user must later open a page that happens to render the malicious comment, and GoCD does not render every material comment in every view). Net: a real, credible priority for GoCD operators to patch promptly, but not a high-probability internet-wide worm; treat as medium operational urgency.

Exploit ScenarioDerived

An attacker who already has write access to a material tracked by GoCD (e.g., a lower-privileged developer or a compromised contributor account) crafts a modification comment that mimics GoCD's special package-material 'trackback' JSON format and embeds arbitrary HTML/JavaScript. When a GoCD administrator or higher-privileged user later opens the Value Stream Map, Stage Detail, Job/Build Detail, or Pipeline History page that renders that forged comment, the script executes in their authenticated session, allowing session/credential theft or actions performed with the victim's privileges. No public exploit code was identified, but the fix commit clearly discloses the vulnerable rendering path.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% 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 (versions 13.3.0 through 26.1.0) allows an authenticated user who holds write access to a material tracked by the server to embed arbitrary HTML or JavaScript in a modification comment crafted to imitate the special package-material trackback JSON format. The payload executes in the browser of a privileged user who later views a page that renders that comment - Stage Detail, Job/Build Detail, Value Stream Map, or Pipeline History - potentially exposing the victim's session or permitting actions with the victim's privileges; not every material comment is rendered in every view, so victim interaction and payload placement are required. No public exploit code was identified at time of analysis and the issue is not listed in CISA KEV, but a public upstream fix commit and the release of GoCD 26.1.0 are available, and the EPSS-style risk is bounded: this is a genuine but contained stored-XSS risk rather than a drop-everything emergency. The CVSS 4.0 vector (PR:L, UI:P, VC:L/VI:H/VA:L) confirms the authenticated, victim-interaction-dependent nature of exploitation.

RemediationAI

Upgrade to GoCD 26.1.0, the vendor-released patch version that fixes this issue, following the release notes at https://www.gocd.org/releases/#26-1-0 and the release tag at https://github.com/gocd/gocd/releases/tag/26.1.0; the specific code change is visible in commit a03eeeaa4a85edfc9053e743610547d4fcf7aea6, with full context in advisory GHSA-pp5x-wgv2-g37p. If immediate upgrade is not possible, apply compensating controls whose trade-offs are understood: first, audit and tighten who holds write access to materials tracked by GoCD (repository/SCM permissions, service accounts used for polling) because the exploit prerequisite is a low-privileged authenticated account able to push modification comments - this reduces attacker population but does not eliminate risk from any legitimate contributor; second, restrict who can view GoCD pipeline history/VSM pages (though this conflicts with the broad visibility many teams rely on for CI/CD transparency); third, deploy a restrictive Content-Security-Policy on the GoCD server that disallows inline script and untrusted script sources, which can neutralize the JavaScript execution path but may break GoCD UI functionality and requires careful testing; fourth, limit network exposure of the GoCD web UI to trusted administrative networks. Because the payload is stored, simply avoiding the affected pages is not a reliable mitigation for users who need pipeline visibility. After upgrading, verify that material comments render as escaped text and that trackback links are restricted to http/https URLs.

Affected VersionsENISA

gocd 13.3.0, < 26.1.0

Affected Packages

euvd gocd_13_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 root cause is CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page), a specific stored/reflected XSS subclass that arises because GoCD's material revision rendering treats package-material comments as trusted raw JSON. The GoCD server builds material revision payloads in server/src/main/java/com/thoughtworks/go/server/presentation/models/MaterialRevisionsJsonBuilder.java, where comments for PackageMaterial are passed through unescaped ('Send back what should be raw JSON for rendering on UI :-('), while all other material types are passed through a commentRenderer. Client-side, vsm_renderer.js historically detected the string "TYPE":"PACKAGE_MATERIAL" with a regex, JSON.parse'd the comment, and interpolated the resulting COMMENT and TRACKBACK_URL fields into a tooltip attribute and a Trackback anchor without adequate encoding; the Ruby side (rails/app/helpers/materials_helper.rb and the wrapped render_comment.ts helper) had the parallel problem. Because any material comment - including one on a non-package material such as Git - can be forged to look like the package trackback JSON blob, an attacker-supplied comment flows into a rendering path that assumes it is trusted structured data, so attacker-controlled strings reach the DOM as markup instead of text. The fix in commit a03eeeaa4a85edfc9053e743610547d4fcf7aea6 introduces an explicit 'commentFormat' discriminator ('json' vs 'html') on the server, so the UI only parses JSON when the server has positively identified the material as a PACKAGE type, and rewrites the JavaScript to escape comments with _.escape(), validate trackback URLs against a ^https?:// pattern, and use a shared renderCommentToHtml helper. The affected CPE (cpe:2.3:a:gocd:gocd:*:*:*:*:*:*:*:*) covers all GoCD builds in the affected range regardless of installation platform.

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.0 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.4 MEDIUM

Authenticated material-write attacker (PR:L) stores payload that requires a victim to view a page (UI:R); browser execution in the victim's session context is a scope change (S:C) with low confidentiality/integrity impact typical of stored XSS.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
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:56 cve.org
HIGH 7.0

DescriptionCVE.org

GoCD is a continuous deliver server. From 13.3.0 until 26.1.0, GoCD does not correctly encode and escape malicious material modification comments that mimic the special trackback format used by package materials when rendering the Stage Detail, Job/Build Detail, Value Stream Map, and Pipeline History views. A user with write access to a material tracked by GoCD can store arbitrary HTML or JavaScript in a forged package material comment, which executes in the browser session of a user who later views an affected page. Exploitation requires a victim to view a page that renders the malicious modification, and GoCD does not render every material comment in every view. 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

CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page; basic XSS), classified by the vendor as stored XSS in the gocd-server package.

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, the continuous delivery server that builds and deploys our software, contains a stored cross-site scripting flaw that lets a user with write access to a tracked source material plant malicious browser code inside a modification comment; the code then executes in the browser of a more privileged colleague who opens a Stage, Job, Value Stream Map, or Pipeline History view. Because GoCD sessions typically carry authority over build and release pipelines, a successful attack could allow an intruder to act as a release engineer - tampering with or approving deployments and reaching connected environments and secrets. The issue is genuine but contained: it requires an attacker already holding write access plus a victim who views the affected page, and no public exploit code has been identified, so it warrants prompt remediation rather than emergency escalation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict write access to tracked materials and the ability to post modification comments to the smallest possible set of trusted accounts; remove or disable unused material integrations that could carry comment metadata; have administrators avoid rendering untrusted pipeline comments by logging into Stage Detail, Job/Build Detail, Value Stream Map, and Pipeline History only for trusted pipelines; apply a strict Content Security Policy and output-sanitization layer at the reverse proxy; monitor and alert on modification comments that imitate the package-material trackback JSON format; and shorten GoCD session lifetimes while remediation is pending.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
niche open-source CI/CD server, limited enterprise footprint vs Jenkins
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.3%
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

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
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-52741 HIGH
7.5 Sep 21

Stored cross-site scripting in GoCD's Compare Pipeline page affects versions 18.3.0 through 25.x and allows an attacker

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