CyberRota Analysis
AI-GeneratedGoCD versions 18.3.0 to 26.1.0 are vulnerable to stored cross-site scripting (XSS) due to the generation of unescaped tracking-tool links from commit comments when using lenient regular expressions. An attacker with commit access can exploit this vulnerability to inject malicious scripts, potentially compromising user sessions and allowing unauthorized actions with the victim's credentials. Organizations using affected versions of GoCD, particularly those with lenient tracking tool configurations, should prioritize upgrading to version 26.1.0 to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
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.