Register for the AI for Security Summit: Join Figma, Perplexity & Wiz
Vulnerability DatabaseGHSA-jmqm-f2gx-4fjv

GHSA-jmqm-f2gx-4fjv
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-jmqm-f2gx-4fjv) affects npm-registry-fetch package and involves sensitive information exposure through log files. The issue was discovered and disclosed on July 7, 2020, affecting versions < 4.0.5 and versions >= 5.0.0, < 8.1.1. The vulnerability allows password values from URLs to be exposed in stdout and log files (GitHub Advisory, Snyk Report).

Technical details

The vulnerability occurs because the package supports URLs in the format ://[[:]@][:][:][/] where password values are not properly redacted. When these URLs are processed, the password information is printed directly to stdout and logged to generated log files. The vulnerability has been assigned a CVSS v3.1 score of 5.3 (Moderate), with the following base metrics: Attack Vector: Network, Attack Complexity: Low, Privileges Required: None, User Interaction: None, Scope: Unchanged, Confidentiality: Low, Integrity: None, Availability: None (GitHub Advisory).

Impact

The vulnerability results in the exposure of sensitive authentication credentials through log files. When users include passwords in URLs, these credentials are logged in plaintext, potentially exposing them to unauthorized access. This creates a security risk where sensitive authentication information could be compromised (Snyk Report).

Exploitability

The vulnerability is easily exploitable as it requires no special privileges or user interaction. The attack vector is network-based, and the attack complexity is considered low. The vulnerability can be triggered whenever URLs containing password information are processed by the affected versions of the package (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in versions 4.0.5 and 8.1.1. Users are advised to upgrade npm-registry-fetch to these versions or higher to address the security issue. The fix involves implementing proper redaction of sensitive information in logs (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-54504HIGH8.8
  • JavaScript logoJavaScript
  • @andrea9293/mcp-documentation-server
NoYesSep 17, 2026
CVE-2026-77615HIGH8.7
  • JavaScript logoJavaScript
  • paella-core
NoYesSep 17, 2026
CVE-2026-91127HIGH8.2
  • JavaScript logoJavaScript
  • @file-viewer/doc
NoYesSep 18, 2026
CVE-2026-77301HIGH7.5
  • JavaScript logoJavaScript
  • openclaw
NoYesSep 18, 2026
CVE-2026-84992MEDIUM6.1
  • JavaScript logoJavaScript
  • md-editor-v3
NoYesSep 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management