CVE-2020-2222: XSS

Published Jul 15, 2020
·
Updated

A flaw was found in jenkins in versions prior to 2.244 and versions prior to LTS 2.235.1. Job names in the 'Keep this build forever' badge tooltip are not properly escaped which results in a stored cross-site scripting (XSS) vulnerability exploitable by users able to configure job names. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Other sources

Jenkins 2.244 and earlier, LTS 2.235.1 and earlier does not escape the job name in the 'Keep this build forever' badge tooltip, resulting in a stored cross-site scripting vulnerability.

Jenkins 2.244 and earlier, LTS 2.235.1 and earlier does not escape the job name in the 'Keep this build forever' badge tooltip. This results in a stored cross-site scripting (XSS) vulnerability exploitable by users able to configure job names.

As job names do not generally support the character set needed for XSS, this is believed to be difficult to exploit in common configurations.

Jenkins 2.245, LTS 2.235.2 escapes the job name in the 'Keep this build forever' badge tooltip.

Jenkins 2.244 and earlier, LTS 2.235.1 and earlier does not escape the job name in the 'Keep this build forever' badge tooltip. This results in a stored cross-site scripting (XSS) vulnerability exploitable by users able to configure job names.

References:

https://www.jenkins.io/security/advisory/2020-07-15/

Red Hat

Affected Software

9 affected componentsFixes available
redhat/jenkins<0:2.235.2.1597220898-1.el7
0:2.235.2.1597220898-1.el7
redhat/jenkins<0:2.235.5.1600415514-1.el7
0:2.235.5.1600415514-1.el7
redhat/jenkins<0:2.235.2.1597312065-1.el7
0:2.235.2.1597312065-1.el7
redhat/jenkins<0:2.235.2.1597312414-1.el7
0:2.235.2.1597312414-1.el7
maven/org.jenkins-ci.main:jenkins-core>=2.236<=2.244
2.245
maven/org.jenkins-ci.main:jenkins-core<=2.235.1
2.235.2
redhat/jenkins<2.245
2.245
Jenkins Jenkins<=2.235.1
Jenkins Jenkins<=2.244

Event History

Jul 15, 2020
CVE Published
12:00 AM
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
May 24, 2022
Advisory Published
05:23 PM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID?

CVE-2020-2222

2

What is the severity of CVE-2020-2222?

The severity of CVE-2020-2222 is high with a severity value of 8.

3

How does CVE-2020-2222 affect Jenkins?

CVE-2020-2222 affects Jenkins versions prior to 2.244 and LTS 2.235.1.

4

What is the impact of CVE-2020-2222?

CVE-2020-2222 allows stored cross-site scripting (XSS) attacks.

5

How can I fix CVE-2020-2222?

To fix CVE-2020-2222, update Jenkins to version 2.245 or LTS 2.235.2.1597220898-1.el7.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203