CVE-2025-53103
JUnit is a testing framework for Java and the JVM. From version …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/junit-team/junit-framework/commit/d4fc834c8c1c0b3168cd030c13551d1d041f51bc
- github.com/junit-team/junit-framework/security/advisories/GHSA-m43g-m425-p68x
- nvd.nist.gov/vuln/detail/CVE-2025-53103
- github.com/junit-team/junit-framework/blob/6b7764dac92fd35cb348152d1b37f8726875a4e0/junit-
- github.com/advisories/GHSA-m43g-m425-p68x
- nvd.nist.gov/vuln/detail/CVE-2025-53103
- cve.org/CVERecord?id=CVE-2025-53103
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.