# CVE-2022-45380: Jenkins JUnit Plugin subject to Cross-site Scripting via URL conversion

Source: https://junglewise.ai/threats/cve-2022-45380-jenkins-junit-plugin-subject-to-cross-site-scripting-via-url  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-11-16  
License: CC BY 4.0 with a link back

CVE-2022-45380 · Severity: low · CVSS 3.1 · Published 2022-11-16

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

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-45380 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-45380 being exploited in the wild.

**How severe is CVE-2022-45380?** Low severity, with a CVSS score of 3.1, published 16 November 2022.

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

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

**Am I affected by CVE-2022-45380?** 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 1160.vf1f01a_a_ea_b_7f or later

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


## Affected products

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

## Identifiers

- CVE-2022-45380
- GHSA-298r-5c48-7q2r

## Related threats

- [Cross-site Scripting in Jenkins JUnit Plugin](https://junglewise.ai/threats/cve-2023-25761-cross-site-scripting-in-jenkins-junit-plugin)
- [Cross-site Scripting in Jenkins JUnit Plugin](https://junglewise.ai/threats/cve-2022-34176-cross-site-scripting-in-jenkins-junit-plugin)
- [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)
