CVE-2021-21648 json
Cross-Site Request Forgery in Jenkins Credentials Plugin
published 2021-05-11 5 y ago modified 2026-06-17 4 mo ago also GHSA-gchq-9r68-6jwv , EUVD-2021-1323
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 11.3%
- EPSS 11.3% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.jenkins-ci.plugins:credentials 2.3.0.1, 2.3.7.1, 2.3.13.1, 2.3.14.1, 2.3.15.1, 2.3.19
- Jenkins project Jenkins Credentials Plugin 2.3.0.1, 2.3.7.1, 2.3.13.1, 2.3.14.1, 2.3.15.1
- runc openshift 4.8 1.0.0-98.rhaos4.8.gitcd80260.el7
- runc openshift 4.8 1.0.0-98.rhaos4.8.gitcd80260.el8
- cri-o openshift 4.8 1.21.2-5.rhaos4.8.gitb27d974.el7
- cri-o openshift 4.8 1.21.2-5.rhaos4.8.gitb27d974.el8
- butane openshift 4.8 0.12.1-1.rhaos4.8.el8
- ostree openshift 4.8 2020.7-5.el8_4
- podman openshift 4.8 3.0.1-6.el8
- haproxy openshift 4.8 2.2.13-1.el7
red hat advisories RHSA-2021:2437
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-21648 updated cvss 5.4
jenkins-2-plugins/credentials: Reflected XSS vulnerability in Credentials Plugin
-
Red Hat OpenShift Container Platform 3.11 jenkins-2-pluginsaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4.8 jenkins-2-plugins 4.8.1624022417-1.el8fixed: vendor fix RHSA-2021:2437
-
Red Hat OpenShift Container Platform 4.8 podman 3.0.1-6.el8, haproxy 2.2.13-1.el7, haproxy 2.2.13-1.el8, ostree 2020.7-5.el8_4, cri-tools 1.21.0-2.el7, cri-tools 1.21.0-2.el8, +133 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
11.31% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:credentials | >=2.3.16, <2.3.19 >=2.3.15, <2.3.15.1 >=2.3.14, <2.3.14.1 >=2.3.8, <2.3.13.1 >=2.3.1, <2.3.7.1 <2.3.0.1 |
2.3.19 2.3.15.1 2.3.14.1 2.3.13.1 2.3.7.1 2.3.0.1 |
Affected products
- Jenkins project Jenkins Credentials Plugin
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/jenkinsci/credentials-plugin/commit/41f3ec1143f80a7e80ab9a4a5f861f26fd3792cc
web
-
jenkins.io
/security/advisory/2021-05-11/#SECURITY-2349
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-21648
advisory
-
github.com
/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2021/21xxx/CVE-2021-21648.json
web
-
github.com
/jenkinsci/credentials-plugin
package
Sources
- CVE List CVE-2021-21648
- GitHub Advisory GHSA-gchq-9r68-6jwv
- NVD CVE-2021-21648
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.