CVE-2023-40342
mediumpriority · track · 22EPSS 0.006 · 49 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
- Maven org.jenkins-ci.plugins:flaky-test-handler< 1.2.3osvUSpkg:maven/org.jenkins-ci.plugins/flaky-test-handler
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-2088Jenkins: Mehrere SchwachstellenDeutsch2023-08-16csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in Jenkins ausnutzen, um beliebigen Code auszuführen, vertrauliche Informationen offenzulegen oder Sicherheitsmaßnahmen zu umgehen.
- GHSA-hv48-hgp6-xpqfJenkins Flaky Test Handler Plugin stored cross-site scripting vulnerability2023-08-16ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2023/08/16/3cnnvd
- https://cxsecurity.com/cveshow/CVE-2023-40342/cnnvd
- https://vigilance.fr/vulnerability/Jenkins-Plugins-multiple-vulnerabilities-42022cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.4748cnnvd
- https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-3223cnnvd
- http://www.openwall.com/lists/oss-security/2023/08/16/3enisa_euvd
- https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-3223enisa_euvd
- http://www.openwall.com/lists/oss-security/2023/08/16/3Mailing ListThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan