CVE-2020-2231: XSS

Published Aug 12, 2020
·
Updated

A flaw was found in Jenkins versions prior to 2.251 and LTS 2.235.3. The remote address of hosts starting a build via 'Trigger builds remotely' are not properly escaped leading to a potential stored cross-site scripting (XSS) vulnerability exploitable by users with Job/Configure permission or knowledge of the authentication token. The highest threat from this vulnerability is to data confidentiality and integrity.

Other sources

Jenkins 2.251 and earlier, LTS 2.235.3 and earlier does not escape the remote address of the host starting a build via 'Trigger builds remotely', resulting in a stored cross-site scripting (XSS) vulnerability exploitable by users with Job/Configure permission or knowledge of the Authentication Token.

Jenkins 2.251 and earlier, LTS 2.235.3 and earlier does not escape the remote address of the host starting a build via 'Trigger builds remotely'. This results in a stored cross-site scripting (XSS) vulnerability exploitable by users with Job/Configure permission or knowledge of the Authentication Token.

Red Hat

Affected Software

9 affected componentsFixes available
redhat/jenkins<0:2.235.5.1600415953-1.el7
0:2.235.5.1600415953-1.el7
redhat/jenkins<0:2.235.5.1600415514-1.el7
0:2.235.5.1600415514-1.el7
redhat/jenkins<0:2.235.5.1600414805-1.el7
0:2.235.5.1600414805-1.el7
maven/org.jenkins-ci.main:jenkins-core>=2.237<=2.251
2.252
maven/org.jenkins-ci.main:jenkins-core<=2.235.3
2.235.4
redhat/Jenkins<2.252
2.252
redhat/Jenkins-LTS<2.235.4
2.235.4
Jenkins Jenkins<=2.235.3
Jenkins Jenkins<=2.251

Event History

Aug 12, 2020
CVE Published
12:00 AM
CVE Published
via MITRE·01:25 PM
Data Sourced
via MITRE·01:25 PM
Description
May 24, 2022
Advisory Published
05:25 PM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2020-2231?

CVE-2020-2231 has a medium severity rating and poses a stored cross-site scripting (XSS) vulnerability.

2

How do I fix CVE-2020-2231?

To fix CVE-2020-2231, upgrade to Jenkins version 2.252 or LTS version 2.235.4 or later.

3

Who is affected by CVE-2020-2231?

CVE-2020-2231 affects Jenkins versions prior to 2.251 and LTS version 2.235.3.

4

What are the consequences of exploiting CVE-2020-2231?

Exploitation of CVE-2020-2231 can allow unauthorized users with Job/Configure permissions to execute arbitrary JavaScript in the context of the web application.

5

Is CVE-2020-2231 easy to exploit?

CVE-2020-2231 can be exploited by users with certain permissions, making it a risk if proper access controls are not in place.

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