CVE-2021-21648: XSS

Published May 11, 2021
·
Updated

Credentials Plugin 2.3.18 and earlier does not escape user-controlled information on a view it provides. This results in a reflected cross-site scripting (XSS) vulnerability. Credentials Plugin 2.3.19 restricts the user-controlled information it provides to a safe subset.

References:

https://www.jenkins.io/security/advisory/2021-05-11/

Other sources

Jenkins Credentials Plugin 2.3.18 and earlier does not escape user-controlled information on a view it provides, resulting in a reflected cross-site scripting (XSS) vulnerability.

Jenkins Credentials Plugin prior to 2.3.19, 2.3.15.1, 2.3.14.1, 2.3.13.1, 2.3.7.1, and 2.3.0.1 does not escape user-controlled information on a view it provides, resulting in a reflected cross-site scripting (XSS) vulnerability.

Jenkins Credentials Plugin 2.3.19, 2.3.15.1, 2.3.14.1, 2.3.13.1, 2.3.7.1, and 2.3.0.1 restricts the user-controlled information it provides to a safe subset.

The reflected cross-site scripting (XSS) vulnerability was found in jenkins credentials plugin. On a view it there is no escape from provided by user information (user-controlled).

Affected Software

9 affected componentsFixes available
redhat/jenkins<2-plugins-0:4.8.1624022417-1.el8
2-plugins-0:4.8.1624022417-1.el8
Jenkins Credentials Jenkins<=2.3.18
maven/org.jenkins-ci.plugins:credentials<2.3.0.1
2.3.0.1
maven/org.jenkins-ci.plugins:credentials>=2.3.1<2.3.7.1
2.3.7.1
maven/org.jenkins-ci.plugins:credentials>=2.3.8<2.3.13.1
2.3.13.1
maven/org.jenkins-ci.plugins:credentials=2.3.14
2.3.14.1
maven/org.jenkins-ci.plugins:credentials=2.3.15
2.3.15.1
maven/org.jenkins-ci.plugins:credentials>=2.3.16<2.3.19
2.3.19
redhat/credentials<2.3.19
2.3.19

Event History

May 11, 2021
CVE Published
12:00 AM
CVE Published
via MITRE·02:15 PM
Data Sourced
via MITRE·02:15 PM
Description
Jun 16, 2021
Advisory Published
05:24 PM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2021-21648?

CVE-2021-21648 is a vulnerability in Jenkins Credentials Plugin that allows for a reflected cross-site scripting (XSS) attack.

2

How severe is CVE-2021-21648?

CVE-2021-21648 has a severity rating of 8.8 (high).

3

Which versions of Jenkins Credentials Plugin are affected?

Jenkins Credentials Plugin versions 2.3.18 and earlier are affected.

4

How can I fix CVE-2021-21648?

To fix CVE-2021-21648, upgrade your Jenkins Credentials Plugin to version 2.3.19 or later.

5

Where can I find more information about CVE-2021-21648?

You can find more information about CVE-2021-21648 at the following links: [Jenkins Security Advisory](https://www.jenkins.io/security/advisory/2021-05-11/), [Red Hat Security Advisory](https://access.redhat.com/errata/RHSA-2021:2437).

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