Improper output encoding in Jenkins Git Plugin
Priority LOW 30CWE-116Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
Summary
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.
Why it matters now
EPSS 0.01242 69th percentileScored 2026-11-07
Fix Partial Jenkins Git Plugin (Jenkins project): 4.7.1.1, 4.3.1org.jenkins-ci.plugins:git (Maven): 4.8.3Red Hat: 1 advisoryRed Hat: 1 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Jenkins | Jenkins Git Plugin | up to 4.8.2 | 4.7.1.1, 4.3.1 | Patch available | CNA |
| — | org.jenkins-ci.plugins:git (Maven) | before 4.8.3 | 4.8.3 | Patch available | GHSA-gghc-g8cj-4vfv |
- Jenkins Git Plugin VendorJenkins Affected up to 4.8.2 Fixed in 4.7.1.1, 4.3.1 Patch available CNA
- org.jenkins-ci.plugins:git (Maven) Vendor— Affected before 4.8.3 Fixed in 4.8.3 Patch available GHSA-gghc-g8cj-4vfv
Remediation
- Fix · CNA Jenkins Git Plugin (Jenkins project) Fixed in 4.7.1.1, 4.3.1
- Fix · GHSA-gghc-g8cj-4vfv org.jenkins-ci.plugins:git (Maven) Fixed in 4.8.3 Advisory →
Red Hat 1 advisory
- RHSA-2022:0055 Released 2022-03-10 · Red Hat rating ModerateOpenShift Container Platform 4.10.3 bug fix and security update
- Red Hat OpenShift Container Platform 4.10 coreos-installer-0.12.0-1.rhaos4.10.el8, coreos-installer-bootinfra-0.12.0-1.rhaos4.10.el8, cri-o-1.23.0-92.rhaos4.10.gitdaab4d1.el7 +11
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift Container Platform 4.10 | Fixed | RHSA-2022:0055 |
Not affected: 2 products
- Red Hat Fuse 7
- Red Hat OpenShift Container Platform 4.10
Timeline
- 2026-10-02 Threatist record created from CVE-2021-21684
- 2026-10-03 Alias added: GHSA-gghc-g8cj-4vfv
References
Advisory 3
More Jenkins Git vulnerabilities
- TI-2022-17098 Missing authorization in Jenkins Git Plugin CVSS 3.1HIGH 7.5
- TI-2022-17097 Cross-site request forgery in Jenkins Git Plugin CVSS 3.1HIGH 8.8
- TI-2022-13003 Path traversal in Jenkins Git Plugin CVSS 3.1HIGH 7.5
- TI-2017-14429 Git Plugin connects to a user-specified Git repository as part of form validation. CVSS 3.0HIGH 7.5
- TI-2022-18196 Insufficiently protected credentials in Jenkins Git Plugin CVSS 3.1MEDIUM 6.5
- TI-2018-15763 An improper authorization vulnerability exists in Jenkins Git Plugin version 3.7.0 and… CVSS 3.0MEDIUM 5.3
Sources
- CVE-2021-21684 · CVE Program
- CVE-2021-21684 · NVD
- FIRST EPSS
- GHSA-gghc-g8cj-4vfv · GitHub Advisory Database · CC BY 4.0
- CVE-2021-21684 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences