# CVE-2021-21648: Cross-Site Request Forgery in Jenkins Credentials Plugin

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 11.3%, higher than 96% of CVEs (2026-12-01)
- Published: 2021-05-11T14:15:20.000Z
- Modified: 2026-06-17T03:35:55.917Z
- Also known as: GHSA-gchq-9r68-6jwv
- Weaknesses: CWE-79
- Assigned by: jenkins

## Description

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.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins Credentials Plugin: from unspecified up to 2.3.18 (not affected: 2.3.0.1; 2.3.7.1; 2.3.14.1; 2.3.13.1; 2.3.15.1)
- org.jenkins-ci.plugins:credentials (Maven): from 2.3.16 before 2.3.19; from 2.3.15 before 2.3.15.1; from 2.3.14 before 2.3.14.1; from 2.3.8 before 2.3.13.1; from 2.3.1 before 2.3.7.1; before 2.3.0.1
- jenkins credentials: up to 2.3.18

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://www.jenkins.io/security/advisory/2021-05-11/#SECURITY-2349> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21648> (advisory)
- <https://github.com/jenkinsci/credentials-plugin/commit/41f3ec1143f80a7e80ab9a4a5f861f26fd3792cc> (web)
- <https://github.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2021/21xxx/CVE-2021-21648.json> (web)
- <https://github.com/jenkinsci/credentials-plugin> (package)

## Sources

- CVE List: [CVE-2021-21648](https://www.cve.org/CVERecord?id=CVE-2021-21648), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-gchq-9r68-6jwv](https://github.com/advisories/GHSA-gchq-9r68-6jwv), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-21648](https://nvd.nist.gov/vuln/detail/CVE-2021-21648), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21648 · Whole record: https://cve.day/CVE-2021-21648.json · Rebuilt by cve.day 2026-11-25T22:58:01.274Z
