What’s Vulnerable › Vulnerabilities
CVE-2025-53103: JUnit OpenTestReportGeneratingListener can leak Git credentials
- Severity: medium (CVSS 5.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-01 · updated 2026-06-17
- Weakness: CWE-312
Description
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.
Affected products
- junit-team junit-framework: from 5.12.0, < 5.13.2
References
- https://github.com/junit-team/junit-framework/commit/d4fc834c8c1c0b3168cd030c13551d1d041f51bc
- https://github.com/junit-team/junit-framework/security/advisories/GHSA-m43g-m425-p68x
Get alerted when CVE-2025-53103 or the next vulnerability affects your stack