{"api_version":"1","generated_at":"2026-07-23T15:32:20+00:00","cve":"CVE-2022-29182","urls":{"html":"https://cve.report/CVE-2022-29182","api":"https://cve.report/api/cve/CVE-2022-29182.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-29182","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-29182"},"summary":{"title":"CVE-2022-29182","description":"GoCD is a continuous delivery server. GoCD versions 19.11.0 through 21.4.0 (inclusive) are vulnerable to a Document Object Model (DOM)-based cross-site scripting attack via a pipeline run's Stage Details > Graphs tab. It is possible for a malicious script on a attacker-hosted site to execute script that will run within the user's browser context and GoCD session via abuse of a messaging channel used for communication between with the parent page and the stage details graph's iframe. This could allow an attacker to steal a GoCD user's session cookies and/or execute malicious code in the user's context. This issue is fixed in GoCD 22.1.0. There are currently no known workarounds.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-05-20 19:15:00","updated_at":"2022-06-06 15:20:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/gocd/gocd/releases/tag/22.1.0","name":"https://github.com/gocd/gocd/releases/tag/22.1.0","refsource":"MISC","tags":[],"title":"Release GoCD 22.1.0 · gocd/gocd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.gocd.org/releases/#22-1-0","name":"https://www.gocd.org/releases/#22-1-0","refsource":"MISC","tags":[],"title":"Releases - Version notes | GoCD","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/gocd/gocd/security/advisories/GHSA-qcg6-4q44-3589","name":"https://github.com/gocd/gocd/security/advisories/GHSA-qcg6-4q44-3589","refsource":"CONFIRM","tags":[],"title":"DOM-based XSS possible via a pipeline run's stage detail graphs · Advisory · gocd/gocd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/gocd/gocd/pull/10190/commits/a256d05de1445e6c77843f098581fc6a66fe4477","name":"https://github.com/gocd/gocd/pull/10190/commits/a256d05de1445e6c77843f098581fc6a66fe4477","refsource":"MISC","tags":[],"title":"Validation tweak on stage details graphs/stats tab by chadlwilson · Pull Request #10190 · gocd/gocd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-29182","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29182","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"29182","vulnerable":"1","versionEndIncluding":"21.4.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"thoughtworks","cpe5":"gocd","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-29182","STATE":"PUBLIC","TITLE":"DOM-based XSS in GoCD"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"gocd","version":{"version_data":[{"version_value":">= 19.11.0, < 22.1.0"}]}}]},"vendor_name":"gocd"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"GoCD is a continuous delivery server. GoCD versions 19.11.0 through 21.4.0 (inclusive) are vulnerable to a Document Object Model (DOM)-based cross-site scripting attack via a pipeline run's Stage Details > Graphs tab. It is possible for a malicious script on a attacker-hosted site to execute script that will run within the user's browser context and GoCD session via abuse of a messaging channel used for communication between with the parent page and the stage details graph's iframe. This could allow an attacker to steal a GoCD user's session cookies and/or execute malicious code in the user's context. This issue is fixed in GoCD 22.1.0. There are currently no known workarounds."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"name":"https://github.com/gocd/gocd/releases/tag/22.1.0","refsource":"MISC","url":"https://github.com/gocd/gocd/releases/tag/22.1.0"},{"name":"https://www.gocd.org/releases/#22-1-0","refsource":"MISC","url":"https://www.gocd.org/releases/#22-1-0"},{"name":"https://github.com/gocd/gocd/security/advisories/GHSA-qcg6-4q44-3589","refsource":"CONFIRM","url":"https://github.com/gocd/gocd/security/advisories/GHSA-qcg6-4q44-3589"},{"name":"https://github.com/gocd/gocd/pull/10190/commits/a256d05de1445e6c77843f098581fc6a66fe4477","refsource":"MISC","url":"https://github.com/gocd/gocd/pull/10190/commits/a256d05de1445e6c77843f098581fc6a66fe4477"}]},"source":{"advisory":"GHSA-qcg6-4q44-3589","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-05-20 19:15:00","lastModifiedDate":"2022-06-06 15:20:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.5},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:*","versionStartIncluding":"19.11.0","versionEndIncluding":"21.4.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}