CVE-2024-56198
path-sanitizer allows bypassing the existing filters to achieve path-traversal vulnerability
Summary
path-sanitizer allows bypassing the existing filters to achieve path-traversal vulnerability
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web loom.com