Skip to main content
VulnerabilityPublished

CVE-2025-53103: junit-framework · Cleartext Storage of Sensitive Information

Affects junit-frameworkSource CVE Database V5

0

Not known to be exploited · CVSS 5.8 Medium · fixed in 5.13.2 : update junit-framework when convenient.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
5.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.13.2
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Mavenorg.junit.jupiter/junit-jupiterpkg:maven/org.junit.jupiter/junit-jupiterOther threatsAffected
  • =5.12.0
  • =5.13.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately audit their use of junit-framework and identify any instances running versions between 5.12.0 and 5.13.1. Upgrading to version 5.13.2 or later is the most effective mitigation. Additionally, organizations should review their Open Test Reporting XML files to ensure they do not contain sensitive credentials and remove or secure any such files stored in public or shared locations. Implement strict access controls and encryption for storage locations of test reports. Integrate automated scanning tools in CI/CD pipelines to detect sensitive data exposure in test artifacts before publishing. Educate development teams about the risks of embedding credentials in test reports and encourage the use of environment variables or secure vaults for managing secrets. Finally, rotate any Git tokens that may have been exposed to limit the window of exploitation.

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.

References

Community reviews

Loading reviews…