CVE-2021-21684
mediumpriority · track · 24EPSS 0.012 · 69 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
- Red Hat OpenShift Container Platform 4.12all versionscert_bundDEcpe:/a:redhat:openshift:container_platform_4.12
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-0432Jenkins: Mehrere SchwachstellenDeutsch2021-10-06csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Jenkins ausnutzen, um Sicherheitsvorkehrungen zu umgehen, Dateien zu manipulieren oder einen Cross-Site-Scripting-Angriff durchzuführen.
- GHSA-gghc-g8cj-4vfvStored XSS vulnerability in Jenkins Git Plugin2022-05-24ghsa · osvUS
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. This results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to submit crafted commit notifications to the `/git/notifyCommit` endpoint. Jenkins Git Plugin 4.8.3 rejects Git SHA-1 checksum parameters that do not match the expected format. Existing values are sanitized when displayed on the UI. This vulnerability is only exploitable in Jenkins 2.314 and earlier, LTS 2.303.1 and earlier. See the [LTS upgrade guide](https://www.jenkins.io/doc/upgrade-guide/2.303/#SECURITY-2452).
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2021/10/06/1cnnvd
- https://access.redhat.com/security/cve/cve-2021-21684cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-21684cnnvd
- https://packetstormsecurity.com/files/166259/Red-Hat-Security-Advisory-2022-0055-01.htmlcnnvd
- https://packetstormsecurity.com/files/166789/Red-Hat-Security-Advisory-2022-1396-01.htmlcnnvd
- https://vigilance.fr/vulnerability/Jenkins-Core-Jenkins-Git-multiple-vulnerabilities-36612cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.3325cnnvd
- https://www.auscert.org.au/bulletins/ESB-2022.1028cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan