🛡️ CVE-2022-34176 — junit

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-79 NVD
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Cross-site Scripting in Jenkins JUnit Plugin

JUnit Plugin 1119.va_a_5e9068da_d7 and earlier does not escape descriptions of test results.

This results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Run/Update permission.

JUnit Plugin 1119.1121.vc43d0fc45561 applies the configured markup formatter to descriptions of test results.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. A user must be tricked into taking some action. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality low, integrity low, availability none.

Weakness class

CVE-2022-34176 is classified as CWE-79: Cross-site Scripting (XSS). User-supplied data is written into a page without escaping, so attacker script runs in the browser of anyone who views it.

Affected software

CVE-2022-34176 is recorded against 2 packages.

  • junit (fixed in 1119.va_a_5e9068da_d7)
  • org.jenkins-ci.plugins:junit (fixed in 1119.1121.vc43d0fc45561)

Timeline and source

Published on 23 June 2022 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

www.jenkins.io
www.jenkins.io

Details

Severity MEDIUM
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CWE CWE-79
Public Exploit ✅ No
Source NVD
Published 2022-06-23
Updated 2026-08-12
Modified 2026-06-17
Fix URL N/A

Affected Packages

Software From version Fixed in
junit 1119.va_a_5e9068da_d7
org.jenkins-ci.plugins:junit 1119.1121.vc43d0fc45561

Similar Threats

Site Security Check

Is junit part of your stack?

CVE-2022-34176 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.