Description
path-sanitizer is a simple lightweight npm package for sanitizing paths to prevent Path Traversal. Prior to 3.1.0, the filters can be bypassed using .=%5c which results in a path traversal. This vulnerability is fixed in 3.1.0.
Published: 2024-12-31
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-0018 path-sanitizer is a simple lightweight npm package for sanitizing paths to prevent Path Traversal. Prior to 3.1.0, the filters can be bypassed using .=%5c which results in a path traversal. This vulnerability is fixed in 3.1.0.
Github GHSA Github GHSA GHSA-94p5-r7cc-3rpr path-sanitizer allows bypassing the existing filters to achieve path-traversal vulnerability
History

Tue, 31 Dec 2024 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 31 Dec 2024 15:30:00 +0000

Type Values Removed Values Added
Description path-sanitizer is a simple lightweight npm package for sanitizing paths to prevent Path Traversal. Prior to 3.1.0, the filters can be bypassed using .=%5c which results in a path traversal. This vulnerability is fixed in 3.1.0.
Title path-sanitizer allows bypassing the existing filters to achieve path-traversal vulnerability
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-12-31T15:50:50.732Z

Reserved: 2024-12-18T18:29:25.895Z

Link: CVE-2024-56198

cve-icon Vulnrichment

Updated: 2024-12-31T15:50:45.708Z

cve-icon NVD

Status : Deferred

Published: 2024-12-31T16:15:27.247

Modified: 2026-04-15T00:35:42.020

Link: CVE-2024-56198

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses