CVE-2025-57754 Details
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.
A critical vulnerability exists in the eslint-ban-moment package, specifically in versions through 3.0.0. The issue arises from a sensitive Supabase URI, including embedded credentials, being exposed in the .env file. This leak allows an attacker to gain unauthorized access to the Supabase database and user data, potentially leading to data exfiltration, modification, or deletion.
Users are advised to invalidate any leaked Supabase credentials, as the URI and credentials are now public. For future projects, add '.env.example' to the .gitignore file to prevent sensitive information from being committed. Consider storing secrets in GitHub's secret storage instead of in environment files.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 21, 2025CISA-ADP
Assessed Aug 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/kristoferfannar/eslint-ban-moment/commit/bc2d2f9d23e6ae961a23e0d769e0722870b11108 | [email protected] | Source CodeVendor |
| https://github.com/kristoferfannar/eslint-ban-moment/security/advisories/GHSA-2486-4cjg-pw98 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-260 | Password in Configuration File | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| kristoferfannar eslint-ban-moment | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 21, 2025 | New CVE Received | [email protected] |
Volerion