MODERATE 6.1

CVE-2021-21648

Cross-Site Request Forgery in Jenkins Credentials Plugin

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.jenkins-ci.plugins » credentials
< 2.3.0.1>= 2.3.1, < 2.3.7.1>= 2.3.8, < 2.3.13.1>= 2.3.14, < 2.3.14.1>= 2.3.15, < 2.3.15.1>= 2.3.16, < 2.3.19
2.3.0.1, 2.3.7.1, 2.3.13.1, 2.3.14.1, 2.3.15.1, 2.3.19

Blast radius

1affected artifacts
161affected versions
667dependent artifacts (est.)
27,622dependent versions

48% of the dependent artifacts (322) still pull an affected version in their latest release.

DepthDependent versions
Direct
13,946
2 hops
11,853
3 hops
840
4 hops
569
5 hops
313
6 hops
101

Most used dependents

Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.