Live threats

All CVEs / Jenkins

CVE-2021-21684Jenkins Git

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
No
Published
Oct 6, 2021
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-116
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Git.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.jenkins-ci.plugins:git < 4.8.3 4.8.3 —

Per OSV / GitHub Advisories (GHSA-gghc-g8cj-4vfv). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
jenkinsgit≤ 4.8.2

Official sources

References

Links published by the sources. Open them with care.