CVE-2025-53103
MEDIUM 5.8CVSS 3.1junit-platform-reporting can leak Git credentials through its OpenTestReportGeneratingListener
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.
- Published
- 1 Jul 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-312
- Also known as
- GHSA-m43g-m425-p68x
- Sources
- NVDJSONOSV GHSA-m43g-m425-p68xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.junit.platform:junit-platform-reporting | >= 5.12.0, < 5.13.2 | 5.13.2 |
References
- https://github.com/junit-team/junit-framework/commit/d4fc834c8c1c0b3168cd030c13551d1d041f51bc · WEB
- https://github.com/junit-team/junit-framework/security/advisories/GHSA-m43g-m425-p68x · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-53103 · ADVISORY
- https://github.com/junit-team/junit-framework · PACKAGE
- https://github.com/junit-team/junit-framework/blob/6b7764dac92fd35cb348152d1b37f8726875a4e0/junit-platform-reporting/src/main/java/org/junit/platform/reporting/open/xml/OpenTestReportGeneratingListener.java#L183 · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 1 Jul 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Jul 2025)