CVE-2023-40342: Jenkins Flaky Test Handler

Medium severity, CVSS 5.4. EPSS: 0.6% chance of exploitation in the next 30 days.

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.

Affected products

  • Jenkins Flaky Test Handler: up to and including 1.2.2

Published 2023-08-16. Last modified 2026-06-17.