Description
Jenkins Git Plugin 4.8.2 and earlier does not escape the Git SHA-1 checksum parameters provided to commit notifications when displaying them in a build cause, resulting in a stored cross-site scripting (XSS) vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Jenkins project | Jenkins Git Plugin | unspecified – ≤ 4.8.2 | 4.7.1.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenShift 4 | coreos-installer +1 | 0.12.0-1.rhaos4.10.el8 | RHSA-2022:0055 |
| Red Hat OpenShift 4 | cri-o | 1.23.0-92.rhaos4.10.gitdaab4d1.el7 | RHSA-2022:0055 |
| Red Hat OpenShift 4 | jenkins | 2.319.2.1643288987-1.el8 | RHSA-2022:0055 |
| Red Hat OpenShift 4 | jenkins-2-plugins | 4.10.1643404185-1.el8 | RHSA-2022:0055 |
| Red Hat OpenShift 4 | openshift +1 | 4.10.0-202202250816.p0.ge419edf.assembly.stream.el7 | RHSA-2022:0055 |
| Red Hat OpenShift 4 | openshift-clients +1 | 4.10.0-202202160023.p0.gf93da17.assembly.stream.el7 | RHSA-2022:0055 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | git | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.jenkins-ci.plugins:git | < 4.8.3 | 4.8.3 | GHSA-gghc-g8cj-4vfv |
Advisories 2
- RHSA-2022:0055 Red Hat Security Advisory: OpenShift Container Platform 4.10.3 bug fix and security update Red Hat Security Advisories (RHSA) · Aug 20, 2026
- WID-SEC-2023-0432 Jenkins: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 20, 2023