CVE-2025-53103

JUnit OpenTestReportGeneratingListener can leak Git credentials

Published Jul 1, 2025 CVSS 3.1 · 5.8 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-19655 junit-platform-reporting can leak Git credentials through its OpenTestReportGeneratingListener
Github GHSA Github GHSA GHSA-m43g-m425-p68x junit-platform-reporting can leak Git credentials through its OpenTestReportGeneratingListener
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title JUnit OpenTestReportGeneratingListener can leak Git credentials
Weaknesses CWE-312
References
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 1, 2025, 6:50 PM
Reserved
Jun 25, 2025, 1:41 PM
Status
Deferred
Published
Jul 1, 2025, 6:15 PM
Modified
Jun 17, 2026, 9:37 AM
Severity
Moderate
Public date
Jul 1, 2025, 6:02 PM