CWE
79
Advisory Published
Advisory Published
Updated

CVE-2020-2161: XSS

First published: Wed Mar 25 2020(Updated: )

Jenkins 2.227 and earlier, LTS 2.204.5 and earlier does not properly escape node labels that are shown in the form validation for label expressions on job configuration pages, resulting in a stored XSS vulnerability exploitable by users able to define node labels.

Credit: jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com

Affected SoftwareAffected VersionHow to fix
maven/org.jenkins-ci.main:jenkins-core>2.222.1<=2.227
2.228
maven/org.jenkins-ci.main:jenkins-core<=2.204.5
2.204.6
Jenkins<=2.204.5
Jenkins<=2.227

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2020-2161?

    CVE-2020-2161 is classified as a medium severity stored XSS vulnerability.

  • How do I fix CVE-2020-2161?

    To fix CVE-2020-2161, upgrade Jenkins to version 2.228 or later or LTS version 2.204.6 or later.

  • Who is affected by CVE-2020-2161?

    CVE-2020-2161 affects Jenkins versions 2.227 and earlier, as well as LTS versions 2.204.5 and earlier.

  • What type of vulnerability is CVE-2020-2161?

    CVE-2020-2161 is a stored Cross-Site Scripting (XSS) vulnerability.

  • Can CVE-2020-2161 be exploited remotely?

    Yes, CVE-2020-2161 can be exploited remotely by users who have permission to define node labels.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203