CVE-2025-53103junit-team junit-framework
Medium 5.8
Follow: this CVE · junit-team · junit-team junit-framework We alert you by email or Slack (account required).
- Priority
- 35
- CVSS 3.1
- 5.8
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 1, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-312
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
What happens
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
- Apply the vendor's security update for junit-framework.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.junit.platform:junit-platform-reporting |
≥ 5.12.0 < 5.13.2 |
5.13.2 |
— |
Per OSV / GitHub Advisories (GHSA-m43g-m425-p68x). Check the version in your lockfile before upgrading.
Affected products
- junit-team · junit-framework
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.