CWE
79
Advisory Published
Advisory Published
Updated

CVE-2023-40342: XSS

First published: Wed 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.

Credit: jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com

Affected SoftwareAffected VersionHow to fix
Jenkins Flaky Test Handler<=1.2.2
maven/org.jenkins-ci.plugins:flaky-test-handler<1.2.3
1.2.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • What is the severity of CVE-2023-40342?

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

  • 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.

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203