Jenkins Patches 20 Plugin Flaws Leading to RCE, XSS and Credential Theft
Jenkins patched 20 vulnerabilities across 13 plugins, including Groovy sandbox bypasses enabling remote code execution on CI/CD controllers.
Stored XSS in Jenkins Gitee Plugin via webhook sender name
The Jenkins Gitee Plugin fails to escape the sender name taken from Gitee push webhook payloads when it is rendered in build causes, allowing malicious script to be stored in Jenkins. An attacker who is able to trigger builds through the plugin's webhook endpoint can submit a crafted Gitee push payload whose sender name contains JavaScript. When a Jenkins user later views the affected build cause, the injected script runs in their browser session, potentially enabling credential theft or unauthorized actions in the Jenkins UI (CVSS rates confidentiality, integrity and availability impacts as high, though user interaction and high privileges are required). Any Jenkins instance running Gitee Plugin version 1301.v8957053c7902 or earlier is affected. No public proof-of-concept is known, the flaw is not in CISA's KEV catalog, and there are no reports of exploitation in the wild.
What to do: Update the Gitee Plugin to the newest release published after 1301.v8957053c7902 (see the corresponding Jenkins security advisory). Until then, restrict the webhook endpoint to trusted Gitee sources (e.g., require authentication or network allow-listing) and treat build cause data as untrusted. Check Jenkins instances for the plugin via the plugin manager and review recent builds triggered by the Gitee webhook for suspicious sender names.
| Product | Affected |
|---|---|
| Jenkins / jenkinsci Gitee Plugin | 1301.v8957053c7902 and earlier |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Jenkins Gitee Plugin 1301.v8957053c7902 and earlier does not escape the sender name from Gitee push webhook payloads in build causes, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to trigger builds via the Jenkins Gitee Plugin webhook endpoint.
Jenkins patched 20 vulnerabilities across 13 plugins, including Groovy sandbox bypasses enabling remote code execution on CI/CD controllers.
Today 1.5K readers · 2.3K views · 951 reads · all time 169K views