Live threats

All CVEs / Jenkins

CVE-2020-2162Jenkins

Medium 5.4

Priority
33
CVSS 3.1
5.4
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
Yes
Published
Mar 25, 2020
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

Jenkins 2.227 and earlier, LTS 2.204.5 and earlier does not set Content-Security-Policy headers for files uploaded as file parameters to a build, resulting in a stored XSS vulnerability.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jenkins.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.jenkins-ci.main:jenkins-core < 2.228 2.228 —
Maven org.jenkins-ci.main:jenkins-core ≥ 2.204.6 < 2.228 2.228 —

Per OSV / GitHub Advisories (GHSA-crg2-6xv3-qg5f). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
jenkinsjenkins≤ 2.204.5
jenkinsjenkins≤ 2.227

Official sources

References

Links published by the sources. Open them with care.