CVE-2021-21648Jenkins Credentials
Medium 6.1 No auth neededHigh EPSS
Follow: this CVE · Jenkins · Jenkins Credentials We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 6.1
- EPSS
- 11.3% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- May 11, 2021
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Credentials.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.jenkins-ci.plugins:credentials |
≥ 2.3.16 < 2.3.19 |
2.3.19 |
— |
| Maven | org.jenkins-ci.plugins:credentials |
≥ 2.3.15 < 2.3.15.1 |
2.3.15.1 |
— |
| Maven | org.jenkins-ci.plugins:credentials |
≥ 2.3.14 < 2.3.14.1 |
2.3.14.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.1 < 2.3.7.1 |
2.3.7.1 |
— |
| Maven | org.jenkins-ci.plugins:credentials |
< 2.3.0.1 |
2.3.0.1 |
— |
Per OSV / GitHub Advisories (GHSA-gchq-9r68-6jwv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jenkins | credentials | ≤ 2.3.18 |
Official sources
References
Links published by the sources. Open them with care.
- www.jenkins.io Vendor Advisory