CVE-2025-53103CWE-312

JUnit OpenTestReportGeneratingListener can leak Git credentials

Medium · published July 1, 2025

CVSS v3.1
5.8
EPSS
0%
Percentile
1.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.8 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00114 · 1.4th percentile
Weakness
CWE-312 · Cleartext Storage of Sensitive Information
Published
2025-07-01T18:02Z
EPSS history
Timeline
  • 01 JUL 18:02Z
    JUnit OpenTestReportGeneratingListener can leak Git credentials
    cvelistv5