Skip to main content
VulnerabilityPublished

CVE-2025-57754: kristoferfannar eslint-ban-moment · Password in Configuration File

Affects kristoferfannar eslint-ban-momentSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.8 Critical.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.

Contested

Critical score, yet low EPSS after six months
EPSS
0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 25 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
kristoferfannar eslint-ban-momentAffected
  • <=3.0.0
Fixed in–

AI-suggested

Immediate mitigation steps include removing sensitive credentials from the .env file and replacing them with environment variables injected securely at runtime, using secret management tools such as HashiCorp Vault, AWS Secrets Manager, or Azure Key Vault. Organizations should audit their source code repositories and deployment pipelines to ensure that .env files or any files containing credentials are excluded from version control and not exposed publicly. Updating to a patched version of eslint-ban-moment once available is essential. In the absence of an official patch, consider temporarily discontinuing the use of the affected plugin version or isolating the Supabase instance with strict network access controls and IP whitelisting. Implement monitoring and alerting on database access logs to detect anomalous or unauthorized activity. Conduct a thorough review of all configuration files across projects to identify and remediate similar credential exposures. Educate developers on secure credential management best practices, including the use of environment variables and avoiding hardcoded secrets. Finally, perform a risk assessment to evaluate potential data exposure and prepare incident response plans in case of compromise.

Description

eslint-ban-moment is an Eslint plugin for final assignment in VIHU. In 3.0.0 and earlier, a sensitive Supabase URI is exposed in .env. A valid Supabase URI with embedded username and password will allow an attacker complete unauthorized access and control over database and user data. This could lead to data exfiltration, modification or deletion.

References

Community reviews

Loading reviews…