NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2021-21648 — credentials

MEDIUMFix: jenkinsci/credentials-plugin@41f3ec1

CVE-2021-21648 is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in org.jenkins-ci.plugins:credentials. EPSS puts its 30-day exploitation probability at 11.3% (96th percentile). A fix is available for org.jenkins-ci.plugins:credentials — see the affected versions and patch details below.

Cross-Site Request Forgery in Jenkins Credentials Plugin

Also known asGHSA-gchq-9r68-6jwv
Published
Updated
Affected
6 pkgs
Patched
6 / 6
Exploits
None indexed
Exploitation data as of Nov 3, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
11.3%probability of exploitation in next 30 days
Moderate Risk0.00%
Lower risk than most CVEs96th percentile — riskier than 96% of all scored CVEsHighest risk
0.00%4.87%9.74%14.6%0.3%11.3%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

6 pkgs affected
☕org.jenkins-ci.plugins:credentials☕org.jenkins-ci.plugins:credentials☕org.jenkins-ci.plugins:credentials☕org.jenkins-ci.plugins:credentials☕org.jenkins-ci.plugins:credentials☕org.jenkins-ci.plugins:credentials

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

6 total 6 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.jenkins-ci.plugins:credentials≥ 2.3.16&&< 2.3.192.3.19org.jenkins-ci.plugins:credentials:2.3.19
☕Mavenorg.jenkins-ci.plugins:credentials≥ 2.3.15&&< 2.3.15.12.3.15.1org.jenkins-ci.plugins:credentials:2.3.15.1
☕Mavenorg.jenkins-ci.plugins:credentials≥ 2.3.14&&< 2.3.14.12.3.14.1org.jenkins-ci.plugins:credentials:2.3.14.1
☕Mavenorg.jenkins-ci.plugins:credentials≥ 2.3.8&&< 2.3.13.12.3.13.1org.jenkins-ci.plugins:credentials:2.3.13.1
☕Mavenorg.jenkins-ci.plugins:credentials≥ 2.3.1&&< 2.3.7.12.3.7.1org.jenkins-ci.plugins:credentials:2.3.7.1
☕Mavenorg.jenkins-ci.plugins:credentialsall versions2.3.0.1org.jenkins-ci.plugins:credentials:2.3.0.1

Affected Products

1 product · 1 configurations
Application
credentialsjenkins
≤ 2.3.18
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.jenkins-ci.plugins:credentials, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.jenkins-ci.plugins:credentials to 2.3.19 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-21648 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
ProductFixed inAdvisory
Red Hat OpenShift Container Platform 4.8jenkins-2-plugins-0:4.8.1624022417-1.el8RHSA-2021:2437

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2021-21648 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2021-21648: credentials XSS — Fixed in 2.3.19