GHSA-298r-5c48-7q2r

Suggest an improvement
Source
https://github.com/advisories/GHSA-298r-5c48-7q2r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-298r-5c48-7q2r/GHSA-298r-5c48-7q2r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-298r-5c48-7q2r
Aliases
Published
2022-11-16T12:00:22Z
Modified
2024-02-16T08:24:46.315881Z
Severity
  • 8.0 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Jenkins JUnit Plugin subject to Cross-site Scripting via URL conversion
Details

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.vf1f01aaeab7f no longer converts URLs to clickable links.

References

Affected packages

Maven / org.jenkins-ci.plugins:junit

Package

Name
org.jenkins-ci.plugins:junit
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/junit

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1160.vf1f01a_a_ea_b_7f

Affected versions

1.*

1.0
1.1
1.2-beta-1
1.2-beta-2
1.2-beta-3
1.2-beta-4
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
1.10
1.11
1.12
1.13
1.14
1.15
1.18
1.19
1.20
1.21
1.22-beta-1
1.22
1.22.1
1.22.2
1.23
1.24
1.25
1.26
1.26.1
1.27
1.28
1.29
1.30
1.31
1.32
1.33
1.34
1.35
1.36
1.37
1.38
1.39
1.41
1.42
1.43
1.44
1.45
1.46
1.47
1.48
1.49
1.50
1.51
1.52
1.53
1.53.0.1
1.54
1.54.1
1.54.2
1.54.3
1.55
1.56
1.57
1.58
1.59
1.60
1.61
1.62
1.63

1119.*

1119.va_a_5e9068da_d7
1119.1121.vc43d0fc45561
1119.1122.v750e65d31b_db_
1119.1124.va_a_8ccde5658f

1143.*

1143.v8d9a_e3355270
1143.1145.v81b_b_9579a_019

1144.*

1144.v909f4d9978e8

1150.*

1150.v5c2848328b_60

1153.*

1153.v1c24f1a_d2553

1156.*

1156.vcf492e95a_a_b_0

1159.*

1159.v0b_396e1e07dd

Database specific

{
    "last_known_affected_version_range": "<= 1159.v0b"
}