GitHub Advisory Database
GHSA-w22p-4x9f-486v
Jenkins GitHub Plugin has an XSS vulnerability
Details
In Jenkins GitHub Plugin versions 1.46.0 and earlier, the JavaScript that validates the "GitHub hook trigger for GITScm polling" feature improperly processes the current job URL.
This results in a stored cross-site scripting (XSS) vulnerability exploitable by non-anonymous attackers with Overall/Read permission.
GitHub Plugin 1.46.0.1 no longer processes the current job URL as part of JavaScript implementing validation of the feature "GitHub hook trigger for GITScm polling".
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.coravy.hudson.plugins.github:github | All versions before 1.46.0.1 (fixed in 1.46.0.1) |