CVE-2024-56198
CRITICALpath-sanitizer < 3.1.0 - Path Traversal via .=%5c Bypass
Title source: llmDescription
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.
References (3)
Core 3
Core References
Vendor Advisory x_refsource_confirm
https://github.com/cabraviva/path-sanitizer/security/advisories/GHSA-94p5-r7cc-3rpr
Patch x_refsource_misc
https://github.com/cabraviva/path-sanitizer/commit/b6d2319eac910dffdfacc8460f5b5cc5a1518ead
Various Sources x_refsource_misc
https://www.loom.com/share/b766ece5193842848ce7562fcd559256?sid=fd826eb6-0eee-4601-bf0e-9cfee5c56e9d
Scores
CVSS v4
9.3
EPSS
0.0073
EPSS Percentile
50.2%
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
total
Details
CWE
CWE-22
Status
published
Products (2)
cabraviva/path-sanitizer
< 3.1.0
npm/path-sanitizer
0 - 3.1.0npm
Published
Dec 31, 2024
Tracked Since
Feb 18, 2026