CVE-2024-56198Published Dec 31, 2024 · Dec 31Updated Oct 28
path-sanitizer allows bypassing the existing filters to achieve path-traversal vulnerability
cabraviva path-sanitizer
Critical9.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| path-sanitizer npm |
|
|
Original 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.
From the CVE record · GitHub_M