Vulnerability DatabaseGHSA-wm7q-rxch-43mx

GHSA-wm7q-rxch-43mx
JavaScript vulnerability analysis and mitigation

Overview

A high severity vulnerability was identified in the 'serve' npm package affecting versions prior to 6.5.2. The vulnerability, tracked as GHSA-wm7q-rxch-43mx, was discovered and published to the GitHub Advisory Database on September 1, 2020, with the latest update on January 9, 2023. The issue allows for bypassing the ignore functionality in the serve package (GitHub Advisory).

Technical details

The vulnerability stems from a validation flaw where path and filename validation occurs before canonicalization. This sequence allows attackers to bypass ignore controls by using URL-encoded characters. For example, if a server is configured to ignore 'test.txt', an attacker can still access the file by using URL encoding (e.g., using %65 instead of 'e' in the filename). This technique can also be exploited to obtain directory listings of ignored directories (GitHub Advisory).

Impact

The vulnerability enables attackers to bypass intended access restrictions and access files or directories that were explicitly configured to be ignored by the serve package. This could potentially lead to unauthorized access to sensitive files and directory information that should have been protected (GitHub Advisory).

Mitigation and workarounds

Users are recommended to update to serve version 6.5.2 or later, which contains the fix for this vulnerability (GitHub Advisory).

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-71476HIGH8.7
  • JavaScript logoJavaScript
  • @nx/gcs-cache
NoYesAug 06, 2026
CVE-2026-71437MEDIUM6.5
  • JavaScript logoJavaScript
  • mermaid
NoYesAug 06, 2026
CVE-2026-71439MEDIUM5.3
  • JavaScript logoJavaScript
  • mermaid
NoYesAug 06, 2026
CVE-2026-71498MEDIUM5.1
  • JavaScript logoJavaScript
  • re2
NoYesAug 06, 2026
CVE-2026-71438LOW2.4
  • JavaScript logoJavaScript
  • mermaid
NoYesAug 06, 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