HIGH 8.0

CVE-2022-45380

Jenkins JUnit Plugin subject to Cross-site Scripting via URL conversion

Description

JUnit Plugin 1159.v0b_396e1e07dd and earlier converts HTTP(S) URLs in test report output to clickable links.

This is done in an unsafe manner, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.

JUnit Plugin 1160.vf1f01a_a_ea_b_7f no longer converts URLs to clickable links.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.jenkins-ci.plugins » junit
< 1160.vf1f01a_a_ea_b_7f
1160.vf1f01a_a_ea_b_7f

Blast radius

1affected artifacts
517affected versions
424dependent artifacts (est.)
24,158dependent versions

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

DepthDependent versions
Direct
5,880
2 hops
8,348
3 hops
7,669
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.