Jenkins JUnit Plugin subject to Cross-site Scripting via URL conversion
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.jenkins-ci.plugins:junit | < 1160.vf1f01a_a_ea_b_7f | 1160.vf1f01a_a_ea_b_7f |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-45380
- https://github.com/jenkinsci/junit-plugin/commit/f1f01aaeab7fa35017112f6163b89283390f5da8
- https://github.com/jenkinsci/junit-plugin
- https://www.jenkins.io/security/advisory/2022-11-15/#SECURITY-2888
- http://www.openwall.com/lists/oss-security/2022/11/15/4
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-79- Platform
- Java / Kotlin (Maven)
- Package
org.jenkins-ci.plugins:junit- Disclosed
- 16.11.2022
- Updated
- 11.10.2026 11:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-298r-5c48-7q2r - CC BY 4.0
Vulnerability history: org.jenkins-ci.plugins:junit
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 05.2022 02.2023
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 3
- Medium 2
Disclosures per year
- 2022: 4
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
-
Jenkins JUnit Plugin subject to Cross-site Scripting via URL conversion this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.