CVE-2026-52741

Source
https://cve.org/CVERecord?id=CVE-2026-52741
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52741.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-52741
Aliases
  • GHSA-hj3c-q23m-fxcg
Published
2026-09-21T14:57:50Z
Modified
2026-09-23T08:12:30Z
Severity
  • 7.5 (High) CVSS_V4 - 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 CVSS Calculator
Summary
GoCD has stored XSS possible via tracking tool link highlighting on Compare Pipeline pages
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-80"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52741.json"
}
References

Affected packages

Git / github.com/gocd/gocd

Affected ranges

Type
GIT
Repo
https://github.com/gocd/gocd
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "18.3.0"
        },
        {
            "fixed":  "26.1.0"
        }
    ],
    "source":  [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

18.*
18.10.0
18.11.0
18.12.0
18.3.0
18.4.0
18.5.0
18.6.0
18.7.0
18.8.0
18.9.0
19.*
19.1.0
19.10.0
19.11.0
19.12.0
19.2.0
19.3.0
19.4.0
19.5.0
19.6.0
19.7.0
19.8.0
19.9.0
20.*
20.1.0
20.10.0
20.2.0
20.3.0
20.4.0
20.5.0
20.6.0
20.7.0
20.8.0
20.9.0
21.*
21.1.0
21.2.0
21.3.0
21.4.0
22.*
22.1.0
22.2.0
22.3.0
23.*
23.1.0
23.2.0
23.3.0
23.4.0
23.5.0
24.*
24.1.0
24.2.0
24.3.0
24.4.0
24.5.0
25.*
25.1.0
25.2.0
25.3.0
25.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52741.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "293644107583814706305313834881514248581",
                "43526100860380261015420273856821442599",
                "157233936825244187698220557484897351053"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-52741-1edf0217",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/gocd/gocd/commit/55b7b460510bb739c1ae6d226ff7fb650596dca2",
        "target":  {
            "file":  "server/src/test/java/com/thoughtworks/go/server/service/ConsoleServiceTest.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "250222003766494194465964995240362262739",
            "length":  800
        },
        "id":  "CVE-2026-52741-27d5397f",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/gocd/gocd/commit/55b7b460510bb739c1ae6d226ff7fb650596dca2",
        "target":  {
            "file":  "server/src/test/java/com/thoughtworks/go/server/service/ConsoleServiceTest.java",
            "function":  "shouldReturnUsefulErrorIfMoveConsoleArtifactsFails"
        }
    }
]
vanir_signatures_modified
"2026-09-23T08:12:30Z"