CVE-2022-45380
JSON

5.4medium

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

Severity
5.4medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.78% (higher than 56% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
jenkins
Also known as
GHSA-298r-5c48-7q2r

Description

Jenkins JUnit Plugin 1159.v0b_396e1e07dd and earlier converts HTTP(S) URLs in test report output to clickable links in an unsafe manner, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.

Affected

Product or packageVersionsReported by
Jenkins project Jenkins JUnit Pluginfrom unspecified up to 1159.v0b_396e1e07dd
Not affected: 1143.1145.v81b_b_9579a_019, 1119.1122.v750e65d31b_db_
CVE List
org.jenkins-ci.plugins:junit (Maven)before 1160.vf1f01a_a_ea_b_7fGitHub Advisory Database
jenkins junitbefore 1160.vf1f01a_a_ea_b_7fNVD

All scores

CISA-ADP5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
GitHub8.0high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Jenkins JUnit Plugin 1159.v0b_396e1e07dd and earlier converts HTTP(S) URLs in test report output to clickable links in an unsafe manner, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.

GitHub Advisory Database

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.

NVD (es)

Jenkins JUnit Plugin 1159.v0b_396e1e07dd y versiones anteriores convierten las URL HTTP(S) en la salida del informe de prueba en enlaces en los que se puede hacer clic de manera insegura, lo que genera una vulnerabilidad de Cross-Site Scripting (XSS) almacenada que pueden explotar los atacantes con permiso Item/Configure.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-45380 changed 2025-04-30CVE Terms of Use
GitHub Advisory DatabaseGHSA-298r-5c48-7q2r changed 2024-02-16CC-BY-4.0
NVDCVE-2022-45380 changed 2026-06-17Public domain