VYPR
Moderate severityNVD Advisory· Published Jun 30, 2025· Updated Aug 4, 2025

File Browser allows sensitive data to be transferred in URL

CVE-2025-52901

Description

File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit files. Prior to version 2.33.9, access tokens are used as GET parameters. The JSON Web Token (JWT) which is used as a session identifier will get leaked to anyone having access to the URLs accessed by the user. This will give an attacker full access to a user's account and, in consequence, to all sensitive files the user has access to. This issue has been patched in version 2.33.9.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/filebrowser/filebrowser/v2Go
< 2.33.92.33.9
github.com/filebrowser/filebrowserGo
<= 1.11.0

Affected products

1

Patches

1
d5b39a14fd3f

fix: remove auth token from /api/command

https://github.com/filebrowser/filebrowserHenrique DiasJun 26, 2025via ghsa
1 file changed · +3 3
  • frontend/src/api/commands.ts+3 3 modified
    @@ -1,6 +1,6 @@
    -import { removePrefix } from "./utils";
    -import { baseURL } from "@/utils/constants";
     import { useAuthStore } from "@/stores/auth";
    +import { baseURL } from "@/utils/constants";
    +import { removePrefix } from "./utils";
     
     const ssl = window.location.protocol === "https:";
     const protocol = ssl ? "wss:" : "ws:";
    @@ -14,7 +14,7 @@ export default function command(
       const authStore = useAuthStore();
     
       url = removePrefix(url);
    -  url = `${protocol}//${window.location.host}${baseURL}/api/command${url}?auth=${authStore.jwt}`;
    +  url = `${protocol}//${window.location.host}${baseURL}/api/command${url}`;
     
       const conn = new window.WebSocket(url);
       conn.onopen = () => conn.send(command);
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

7

News mentions

0

No linked articles in our index yet.