CVE-2025-53103
published medium CVSS 3.1 · 5.8JUnit OpenTestReportGeneratingListener can leak Git credentials
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| junit-team | — | junit-framework>= 5.12.0, < 5.13.2 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| junit-team | junit-framework | >= 5.12.0, < 5.13.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-312 CWE-312: Cleartext Storage of Sensitive Information
References
2Provider assertions
2GitHub_M · cna
JUnit OpenTestReportGeneratingListener can leak Git credentials
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9ccf837ecce8985f0cc47ef28767a1b2a8bf204bbae570ce48dfad68bd31df47
- Ingested
- 23 Sep 2026, 08:52:40 UTC
- Source record
- Official CVE record