HIGH 8.0

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)

ArtifactAffected versionsFixed in
org.jenkins-ci.plugins » junit
< 1119.1121.vc43d0fc45561
1119.1121.vc43d0fc45561

Blast radius

1affected artifacts
445affected versions
415dependent artifacts (est.)
22,945dependent versions

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

DepthDependent 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

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

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webjenkins.io