Skip to content
Fencer Vulns
medium 5.4

CVE-2022-34176 json

Cross-site Scripting in Jenkins JUnit Plugin

published 2022-06-22 4 y ago modified 2026-06-17 4 mo ago also GHSA-64mj-3p92-589v , EUVD-2022-5950

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

Summary

Jenkins JUnit Plugin 1119.va_a_5e9068da_d7 and earlier does not escape descriptions of test results, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Run/Update permission.

Patch / fix

  • maven org.jenkins-ci.plugins:junit 1119.1121.vc43d0fc45561
  • Jenkins project Jenkins JUnit Plugin 1.53.0.1
  • jenkins openshift 4.8 2.361.1.1672840472-1.el8
  • jenkins-2-plugins openshift 4.8 4.8.1672842762-1.el8
  • jenkins-2-plugins openshift 4.9 4.9.1667460322-1.el8
  • jenkins-2-plugins openshift 4.10 4.10.1663147786-1.el8

red hat advisories RHSA-2023:0017RHBA-2022:8582RHSA-2022:6531

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-34176 updated cvss 5.4

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

  • Red Hat OpenShift Container Platform 3.11 jenkins-2-plugins
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 4.8 jenkins-2-plugins 4.8.1672842762-1.el8
    fixed: vendor fix RHSA-2023:0017
  • Red Hat OpenShift Container Platform 4.9 jenkins-2-plugins 4.9.1667460322-1.el8
    fixed: vendor fix RHBA-2022:8582
  • Red Hat OpenShift Container Platform 4.10 jenkins-2-plugins 4.10.1663147786-1.el8
    fixed: vendor fix RHSA-2022:6531
  • Red Hat OpenShift Container Platform 4.8 jenkins 2.361.1.1672840472-1.el8 Red Hat OpenShift Container Platform 4.9 python-kubernetes 22.6.0-1.el8, python3-kubernetes 22.6.0-1.el8, jenkins 2.346.1.1667459710-1.el8, python3-kubernetes-tests 22.6.0-1.el8, openshift 4.9.0-202210242129.p0.g9e95cb9.assembly.stream.el7, openshift 4.9.0-202210242129.p0.g9e95cb9.assembly.stream.el8, +6 more Red Hat OpenShift Container Platform 4.10 jenkins 2.346.3.1663151230-1.el8, cri-o 1.23.3-17.rhaos4.10.git016b1ca.el7, cri-o 1.23.3-17.rhaos4.10.git016b1ca.el8, python-sushy 4.1.2-0.20220913104404.1ae8e49.el8, python3-sushy 4.1.2-0.20220913104404.1ae8e49.el8, openstack-ironic 19.0.1-0.20220907234401.d85d7f8.el8, +5 more
    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

Exploit prediction

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

CVSS scores

assigned by version score vector
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 3.5 AV:N/AC:M/Au:S/C:N/I:P/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
<1119.1121.vc43d0fc45561
1119.1121.vc43d0fc45561

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.