{"id":"GHSA-9rjp-r58j-fxgq","summary":"Path traversal in elFinder.NetCore","details":"This affects all versions of package elFinder.NetCore. The Path.Combine(...) method is used to create an absolute file path. Due to missing sanitation of the user input and a missing check of the generated path its possible to escape the Files directory via path traversal","aliases":["CVE-2021-23428"],"modified":"2026-03-13T22:11:17.814091Z","published":"2021-09-02T22:05:26Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-09-02T18:03:47Z","nvd_published_at":"2021-09-01T15:15:00Z","cwe_ids":["CWE-20","CWE-22"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23428"},{"type":"PACKAGE","url":"https://github.com/gordon-matt/elFinder.NetCore"},{"type":"WEB","url":"https://github.com/gordon-matt/elFinder.NetCore/blob/633da9a4d7d5c9baefd1730ee51bf7af54889600/elFinder.NetCore/Drivers/FileSystem/FileSystemDriver.cs#L387"},{"type":"WEB","url":"https://github.com/gordon-matt/elFinder.NetCore/blob/633da9a4d7d5c9baefd1730ee51bf7af54889600/elFinder.NetCore/Drivers/FileSystem/FileSystemDriver.cs%23L387"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-DOTNET-ELFINDERNETCORE-1313838"}],"affected":[{"package":{"name":"elFinder.NetCore","ecosystem":"NuGet","purl":"pkg:nuget/elFinder.NetCore"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.3.5"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.2.1","1.2.2","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-9rjp-r58j-fxgq/GHSA-9rjp-r58j-fxgq.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L"}]}