# CVE-2023-40342: Jenkins Flaky Test Handler Plugin stored cross-site scripting vulnerability

Source: https://junglewise.ai/threats/cve-2023-40342-jenkins-flaky-test-handler-plugin-stored-cross-site-scripting  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-08-16  
License: CC BY 4.0 with a link back

CVE-2023-40342 · Severity: low · CVSS 3.1 · Published 2023-08-16

Jenkins Flaky Test Handler Plugin stored cross-site scripting vulnerability

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

## Quick answers

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

**How severe is CVE-2023-40342?** Low severity, with a CVSS score of 3.1, published 16 August 2023.

**Which products and versions are affected?** org.jenkins-ci.plugins:flaky-test-handler (Maven) ECOSYSTEM:introduced=0,fixed=1.2.3.

**Is there a fix for CVE-2023-40342?** Yes. org.jenkins-ci.plugins:flaky-test-handler (Maven): upgrade to 1.2.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-40342?** Check whether you run org.jenkins-ci.plugins:flaky-test-handler (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:flaky-test-handler (Maven): upgrade to 1.2.3 or later

  ```sh
  # set org.jenkins-ci.plugins:flaky-test-handler to 1.2.3 in your pom.xml or build.gradle
  ```


## Affected products

- org.jenkins-ci.plugins:flaky-test-handler (Maven) ECOSYSTEM:introduced=0,fixed=1.2.3

## Identifiers

- CVE-2023-40342
- GHSA-hv48-hgp6-xpqf

## Related threats

- [CSRF vulnerability in Jenkins Flaky Test Handler Plugin](https://junglewise.ai/threats/cve-2020-2237-csrf-vulnerability-in-jenkins-flaky-test-handler-plugin)
- [XXE vulnerability in Jenkins Flaky Test Handler Plugin](https://junglewise.ai/threats/cve-2022-28140-xxe-vulnerability-in-jenkins-flaky-test-handler-plugin)
