XSS in Jenkins Flaky Test Handler

CVE-2023-40342

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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

EPSS exploit prediction

EPSS: 0.006 (46.7th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 47th percentile — 46.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2023-40342: held from 0.006 to 0.006.

EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-40342?
CVE-2023-40342 is a medium-severity vulnerability in Jenkins Flaky Test Handler, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2023-08-16.
How severe is CVE-2023-40342?
Medium severity. CVSS v3 base score is 5.4 out of 10.