### [CVE-2024-56198](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-56198) ![](https://img.shields.io/static/v1?label=Product&message=path-sanitizer&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3C%203.1.0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-22%3A%20Improper%20Limitation%20of%20a%20Pathname%20to%20a%20Restricted%20Directory%20('Path%20Traversal')&color=brightgreen) ### 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. ### POC #### Reference - https://github.com/cabraviva/path-sanitizer/security/advisories/GHSA-94p5-r7cc-3rpr #### Github No PoCs found on GitHub currently.