Skip to main content
← All vulnerabilities
CVE-2025-53103GHSA-M43G-M425-P68X

JUnit OpenTestReportGeneratingListener can leak Git credentials

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.13.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

JUnit is a testing framework for Java and the JVM. From version 5.12.0 to 5.13.1, JUnit's support for writing Open Test Reporting XML files can leak Git credentials. The impact depends on the level of the access token exposed through the OpenTestReportGeneratingListener. If these test reports are published or stored anywhere public, then there is the possibility that a rouge attacker can steal the token and perform elevated actions by impersonating the user or app. This issue as been patched in version 5.13.2.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • junit-team junit-framework

    From 5.12.0 · fixed in 5.13.2

  • org.junit.platform:junit-platform-reportingMaven

    From 5.12.0 · fixed in 5.13.2

References 2

GitHub · junit-team/junit-framework