Skip to content
Fencer Vulns
medium 5.4

CVE-2022-45380 json

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

published 2022-11-15 3 y ago modified 2026-06-17 4 mo ago also GHSA-298r-5c48-7q2r , EUVD-2022-7196

cvss
5.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 52%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.jenkins-ci.plugins:junit 1160.vf1f01a_a_ea_b_7f
  • Jenkins project Jenkins JUnit Plugin 1119.1122.v750e65d31b_db_, 1143.1145.v81b_b_9579a_019
  • jenkins openshift 4.9 2.361.1.1675668150-1.el8
  • jenkins-2-plugins openshift 4.9 4.9.1675668922-1.el8
  • jenkins-2-plugins openshift 4.10 4.10.1675144701-1.el8

red hat advisories RHSA-2023:0777RHSA-2023:0560

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-45380 updated cvss 8.0

jenkins-plugin/JUnit: Stored XSS vulnerability in JUnit Plugin

  • Red Hat OpenShift Developer Tools and Services jenkins-2-plugins
    affected: no fix available
  • Red Hat OpenShift Container Platform 3.11 jenkins-2-plugins
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Container Platform 4.9 jenkins-2-plugins 4.9.1675668922-1.el8
    fixed: vendor fix RHSA-2023:0777
  • Red Hat OpenShift Container Platform 4.10 jenkins-2-plugins 4.10.1675144701-1.el8
    fixed: vendor fix RHSA-2023:0560
  • Red Hat OpenShift Container Platform 4.9 jenkins 2.361.1.1675668150-1.el8 Red Hat OpenShift Container Platform 4.10 cri-o 1.23.5-5.rhaos4.10.gitd9dec98.el7, cri-o 1.23.5-5.rhaos4.10.gitd9dec98.el8
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

0.67% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CNA 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
GitHub 3.1 8.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven org.jenkins-ci.plugins:junit
<1160.vf1f01a_a_ea_b_7f
1160.vf1f01a_a_ea_b_7f

Affected products

  • Jenkins project Jenkins JUnit Plugin

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.