Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-40342

5.4 · MEDIUM
Published Aug 16, 2023 jenkins CWE-79 EPSS 0.60% (46th pctl)

Overview

CVE-2023-40342 is a medium-severity vulnerability affecting jenkins flaky_test_handler. It was published on August 16, 2023 and has a CVSS 3.1 base score of 5.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

Jenkins Flaky Test Handler Plugin 1.2.2 and earlier does not escape JUnit test contents when showing them on the Jenkins UI, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control JUnit report file contents.

Remediation

Check the references section for vendor advisories and patches from jenkins. Update flaky_test_handler to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
jenkins flaky_test_handler 0 Affected

Frequently Asked Questions

What is CVE-2023-40342?

CVE-2023-40342 is a medium-severity vulnerability affecting jenkins flaky_test_handler. It was published on August 16, 2023 and has a CVSS 3.1 base score of 5.4 (MEDIUM).

How severe is CVE-2023-40342?

This vulnerability has a CVSS 3.1 base score of 5.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-40342?

Check the references section for vendor advisories and patches from jenkins. Update flaky_test_handler to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-40342?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-40342 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.