# CVE-2022-34176: Cross-site Scripting in Jenkins JUnit Plugin

Source: https://junglewise.ai/threats/cve-2022-34176-cross-site-scripting-in-jenkins-junit-plugin  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-06-24  
License: CC BY 4.0 with a link back

CVE-2022-34176 · Severity: low · CVSS 3.1 · Published 2022-06-24

Cross-site Scripting in Jenkins JUnit Plugin

Technologies: [org.jenkins-ci.plugins:junit (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-plugins-junit). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-34176 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-34176 being exploited in the wild.

**How severe is CVE-2022-34176?** Low severity, with a CVSS score of 3.1, published 24 June 2022.

**Which products and versions are affected?** org.jenkins-ci.plugins:junit (Maven) ECOSYSTEM:introduced=0,fixed=1119.1121.vc43d0fc45561.

**Is there a fix for CVE-2022-34176?** Yes. org.jenkins-ci.plugins:junit (Maven): upgrade to 1119.1121.vc43d0fc45561 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-34176?** Check whether you run org.jenkins-ci.plugins:junit (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.jenkins-ci.plugins:junit (Maven): upgrade to 1119.1121.vc43d0fc45561 or later

  ```sh
  # set org.jenkins-ci.plugins:junit to 1119.1121.vc43d0fc45561 in your pom.xml or build.gradle
  ```


## Affected products

- org.jenkins-ci.plugins:junit (Maven) ECOSYSTEM:introduced=0,fixed=1119.1121.vc43d0fc45561

## Identifiers

- CVE-2022-34176
- GHSA-64mj-3p92-589v

## Related threats

- [Cross-site Scripting in Jenkins JUnit Plugin](https://junglewise.ai/threats/cve-2023-25761-cross-site-scripting-in-jenkins-junit-plugin)
- [Jenkins JUnit Plugin subject to Cross-site Scripting via URL conversion](https://junglewise.ai/threats/cve-2022-45380-jenkins-junit-plugin-subject-to-cross-site-scripting-via-url)
- [Improper Restriction of XML External Entity Reference in Jenkins JUnit Plugin](https://junglewise.ai/threats/cve-2018-1000056-improper-restriction-of-xml-external-entity-reference-in)
- [Jenkins JUnit Plugin CSRF vulnerability](https://junglewise.ai/threats/cve-2018-1000411-jenkins-junit-plugin-csrf-vulnerability)
