CVE-2022-34176
Cross-site Scripting in Jenkins JUnit Plugin
Description
JUnit Plugin 1119.va_a_5e9068da_d7 and earlier does not escape descriptions of test results.
This results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Run/Update permission.
JUnit Plugin 1119.1121.vc43d0fc45561 applies the configured markup formatter to descriptions of test results.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins » junit | < 1119.1121.vc43d0fc45561 | 1119.1121.vc43d0fc45561 |
Blast radius
43% of the dependent artifacts (179) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 5,578 |
| 2 hops | 7,440 |
| 3 hops | 7,666 |
| 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-2022-34176 | nvd.nist.gov |
| Package | jenkinsci/junit-plugin | github.com |
| Web | jenkinsci/junit-plugin commit c43d0fc | github.com |
| Web | security/advisory/2022-06-22 | jenkins.io |
