MODERATE 5.4

CVE-2023-25761

Cross-site Scripting in Jenkins JUnit Plugin

Description

Jenkins JUnit Plugin 1166.va_436e268e972 and earlier does not escape test case class names in JavaScript expressions, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control test case class names in the JUnit resources processed by the plugin.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.jenkins-ci.plugins » junit
< 1166.1168.vd6b_8042a_06de
1166.1168.vd6b_8042a_06de

Blast radius

1affected artifacts
523affected versions
424dependent artifacts (est.)
26,085dependent versions

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

DepthDependent versions
Direct
6,483
2 hops
8,732
3 hops
8,609
4 hops
1,891
5 hops
304
6 hops
66

Most used dependents

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