CVE-2020-2221
Java vulnerability analysis and mitigation

Overview

Jenkins 2.244 and earlier, LTS 2.235.1 and earlier contains a stored cross-site scripting (XSS) vulnerability identified as CVE-2020-2221. The vulnerability was discovered and reported by Wadeck Follonier from CloudBees, Inc. and was publicly disclosed on July 15, 2020. The vulnerability affects the Jenkins core system, specifically in how it handles the display of upstream job names (Jenkins Advisory).

Technical details

The vulnerability occurs because Jenkins fails to properly escape the upstream job's display name shown as part of a build cause. This results in a stored cross-site scripting (XSS) vulnerability that can be exploited by users who have Job/Configure permission. The vulnerability has been assigned a severity rating of High according to CVSS scoring system (Jenkins Advisory).

Impact

When successfully exploited, this vulnerability allows attackers with Job/Configure permission to execute arbitrary JavaScript code in the context of other users' browsers who view the affected build cause pages. This could potentially lead to session hijacking, credential theft, or other malicious actions (Jenkins Advisory).

Exploitability

The vulnerability is exploitable by users who have Job/Configure permission in Jenkins. The attacker would need to have sufficient privileges to configure jobs in the Jenkins instance to inject malicious scripts through the upstream job's display name (Jenkins Advisory, OSS Security).

Mitigation and workarounds

The vulnerability has been fixed in Jenkins 2.245 and LTS 2.235.2, which properly escape the job display name. Users are strongly advised to upgrade to these versions or later to address this security issue. The fix involves implementing proper escaping mechanisms for the upstream job's display name (Jenkins Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-73644CRITICAL9.6
  • Java logoJava
  • org.openidentityplatform.opendj:opendj-server-legacy
NoYesAug 13, 2026
CVE-2026-73507HIGH7.5
  • Java logoJava
  • seata
NoYesAug 13, 2026
CVE-2026-49989HIGH7.1
  • Java logoJava
  • io.crate:crate
NoYesAug 14, 2026
CVE-2026-53660HIGH7
  • Java logoJava
  • org.openidentityplatform.openam:openam-core
NoYesAug 14, 2026
CVE-2026-73508MEDIUM5.3
  • Java logoJava
  • celeborn-0.6
NoYesAug 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management