CVE-2023-40342: XSS

Published Aug 16, 2023
·
Updated

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.

Other sources

Jenkins Flaky Test Handler Plugin 1.2.2 and earlier does not escape JUnit test contents when showing them on the Jenkins UI.

This results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control JUnit report file contents.

Flaky Test Handler Plugin 1.2.3 escapes JUnit test contents when showing them on the Jenkins UI.

Affected Software

2 affected componentsFixes available
jenkins Flaky Test Handler Jenkins<=1.2.2
maven/org.jenkins-ci.plugins:flaky-test-handler<1.2.3
1.2.3

Event History

Aug 16, 2023
CVE Published
02:32 PM
Data Sourced
02:32 PM
Description
Advisory Published
03:30 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-40342?

CVE-2023-40342 is a vulnerability in Jenkins Flaky Test Handler Plugin 1.2.2 and earlier versions that allows for stored cross-site scripting (XSS) attacks.

2

How does CVE-2023-40342 impact Jenkins?

CVE-2023-40342 allows attackers who can control JUnit report file contents to exploit a stored XSS vulnerability in Jenkins Flaky Test Handler Plugin, potentially compromising the security and integrity of the system.

3

What is the severity of CVE-2023-40342?

The severity of CVE-2023-40342 is rated as high, with a severity value of 8.

4

How can I fix CVE-2023-40342?

To fix CVE-2023-40342, upgrade to Flaky Test Handler Plugin version 1.2.3 or later, which includes the necessary fix to escape JUnit test contents and prevent XSS attacks.

5

Where can I find more information about CVE-2023-40342?

More information about CVE-2023-40342 can be found on the NIST National Vulnerability Database (NVD) at https://nvd.nist.gov/vuln/detail/CVE-2023-40342 and on the Jenkins security advisory page at https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-3223.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203