MODERATE 5.4

CVE-2023-25762

Cross-site Scripting in Jenkins Pipeline: Build Step Plugin

Description

Jenkins Pipeline: Build Step Plugin 2.18 and earlier does not escape job names in a JavaScript expression used in the Pipeline Snippet Generator, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control job names.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.jenkins-ci.plugins » pipeline-build-step
< 2.18.1
2.18.1

Blast radius

1affected artifacts
100affected versions
46dependent artifacts (est.)
7,011dependent versions

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

DepthDependent versions
Direct
2,638
2 hops
4,372
3 hops
1

Most used dependents

Computed from the dependency graph of build 20261202.0245 (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.