Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with material write access
-
DeliveryStore forged package-material trackback comment with JS payload
-
ExploitVictim opens Stage/VSM/Pipeline-History page
-
ExecutionScript executes in privileged browser session
-
ImpactHijack 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. |
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 (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
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 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
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
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 1
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
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.
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
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's Compare Pipeline page affects versions 18.3.0 through 25.x and allows an attacker
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-83948
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB