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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins » junit | < 1166.1168.vd6b_8042a_06de | 1166.1168.vd6b_8042a_06de |
Blast radius
44% of the dependent artifacts (189) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.jenkins-ci.plugins.workflow » workflow-basic-steps325 usages
- org.jenkins-ci.plugins » git227 usages
- org.jenkins-ci.plugins » matrix-project204 usages
- org.jenkins-ci.plugins.workflow » workflow-aggregator136 usages
- org.jenkins-ci.plugins » mailer132 usages
- org.jenkins-ci.main » maven-plugin131 usages
- org.jenkins-ci.main » jenkins-test-harness99 usages
- org.jenkinsci.plugins » pipeline-model-definition68 usages
- org.jenkins-ci.plugins » github-branch-source48 usages
- org.jenkins-ci.plugins » display-url-api46 usages
- org.jenkins-ci.plugins » dashboard-view31 usages
- org.jenkins-ci.plugins » parameterized-trigger27 usages
- org.jenkins-ci.plugins » envinject25 usages
- com.coravy.hudson.plugins.github » github22 usages
- org.jenkins-ci.plugins » cloudbees-bitbucket-branch-source21 usages
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.
References
| Advisory | NVD CVE-2023-25761 | nvd.nist.gov |
| Web | jenkinsci/junit-plugin commit d6b8042 | github.com |
| Web | security/advisory/2023-02-15 | jenkins.io |
| Web | lists/oss-security/2023/02/15/4 | openwall.com |
