CVE-2022-41239
Description
Jenkins DotCi Plugin 2.40.00 and earlier has a stored XSS vulnerability via unescaped GitHub username in commit notifications.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Jenkins DotCi Plugin 2.40.00 and earlier has a stored XSS vulnerability via unescaped GitHub username in commit notifications.
Vulnerability
Jenkins DotCi Plugin versions 2.40.00 and earlier fail to escape the GitHub user name parameter when displaying commit notifications in the build cause. This improper handling allows an attacker to inject arbitrary HTML and JavaScript into the Jenkins UI, leading to a stored cross-site scripting (XSS) vulnerability [1][2].
Exploitation
An attacker with the ability to set their GitHub username to a malicious value (e.g., by creating a commit with a crafted author name) can trigger the XSS. When DotCi processes the commit notification and displays it in the build cause, the malicious script executes in the context of users viewing the build information. No special privileges within Jenkins are required beyond the ability to contribute to a repository monitored by DotCi [1].
Impact
Stored XSS allows the attacker to execute arbitrary JavaScript in the browsers of Jenkins users, potentially stealing session cookies, performing actions on behalf of the victim, or defacing the Jenkins interface. The vulnerability is rated high severity due to the ease of exploitation and potential for widespread impact [1][2].
Mitigation
As of the initial advisory, the Jenkins security team reported that the plugin maintainer had not provided a fix. Users are advised to stop using the DotCi plugin or apply workarounds if available. The plugin may be suspended from the Jenkins update site as per policy for unresolved vulnerabilities [3]. No patched version has been released; the latest code on the GitHub repository still contains the vulnerable code [4].
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.groupon.jenkins-ci.plugins:DotCiMaven | <= 2.40.00 | — |
Affected products
2- Range: unspecified
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-q9g4-9fx4-v533ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-41239ghsaADVISORY
- plugins.jenkins.io/DotCighsaWEB
- www.jenkins.io/security/advisory/2022-09-21/ghsax_refsource_CONFIRMWEB
- www.jenkins.io/security/plugins/ghsaWEB
News mentions
1- Jenkins Security Advisory 2022-09-21Jenkins Security Advisories · Sep 21, 2022