CVE-2023-40342
MediumCVSS 5.4Exploitation Probability (EPSS)
Low risk40th percentile - higher than 40% of all known CVEs
Summary
Jenkins Flaky Test Handler Plugin version 1.2.2 and earlier does not escape JUnit test contents when displayed on the Jenkins UI, leading to a stored XSS vulnerability.
Risk Assessment
Attackers can exploit this vulnerability to inject malicious code, potentially leading to data theft or session hijacking.
Recommendation
It is recommended to update the plugin to the latest version to mitigate this vulnerability and review and secure the contents of JUnit reports.
Original NVD description (English source)
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.

