Read the docs
TI-2023-21171 Aliases CVE-2023-40342GHSA-hv48-hgp6-xpqf

Cross-site scripting in Jenkins Flaky Test Handler Plugin

Priority LOW 25CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00602 49th percentileScored 2026-11-07
Fix Fixed org.jenkins-ci.plugins:flaky-test-handler (Maven): 1.2.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
JenkinsJenkins Flaky Test Handler Pluginup to 1.2.2—No fix listedCNA
—org.jenkins-ci.plugins:flaky-test-handler (Maven)before 1.2.31.2.3Patch availableGHSA-hv48-hgp6-xpqf
  • Jenkins Flaky Test Handler Plugin VendorJenkins Affected up to 1.2.2 Fixed in — No fix listed CNA
  • org.jenkins-ci.plugins:flaky-test-handler (Maven) Vendor— Affected before 1.2.3 Fixed in 1.2.3 Patch available GHSA-hv48-hgp6-xpqf

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:jenkins:flaky_test_handler:*:*:*:*:*:jenkins:*:*up to 1.2.2VulnerableJenkins
  • cpe:2.3:a:jenkins:flaky_test_handler:*:*:*:*:*:jenkins:*:* Versions up to 1.2.2 Vulnerable ·Jenkins

Remediation

  • Fix · GHSA-hv48-hgp6-xpqf org.jenkins-ci.plugins:flaky-test-handler (Maven) Fixed in 1.2.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-40342
  2. 2026-10-03 Alias added: GHSA-hv48-hgp6-xpqf

References

  • TI-2022-10938 XML external entity injection in Jenkins Flaky Test Handler Plugin CVSS 3.1HIGH 8.1
  • TI-2020-02114 Cross-site request forgery in Jenkins Flaky Test Handler Plugin CVSS 3.1MEDIUM 4.3

Sources