{"answers":{"affected":"3 open source packages ship an affected version, including github.com/gtsteffaniak/filebrowser. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-30934 exists.","fix":"Upgrade github.com/gtsteffaniak/filebrowser to 0.0.0-20260307130210-09713b32a5f6 or later.","what":"CVE-2026-30934 is a high-severity cross-site scripting vulnerability in gtsteffaniak filebrowser, published on 10 Mar 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-30934 and fix it if it is affected.\n\nWhat it is: CVE-2026-30934 is a high-severity cross-site scripting vulnerability in gtsteffaniak filebrowser, published on 10 Mar 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-30934 exists.\n\nAffected packages and fixed versions:\n- github.com/gtsteffaniak/filebrowser (Go): affected all versions; fixed in 0.0.0-20260307130210-09713b32a5f6\n- github.com/gtsteffaniak/filebrowser (Go): affected all versions; fixed in 0.0.0-20260307130210-09713b32a5f6\n- github.com/gtsteffaniak/filebrowser (Go): affected all versions; fixed in 0.0.0-20260307130210-09713b32a5f6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-30934/ (Markdown: https://insights.sbomify.com/CVE-2026-30934/index.md)","id":"CVE-2026-30934","markdown":"https://insights.sbomify.com/CVE-2026-30934/index.md","name":"CVE-2026-30934","record":{"aliases":["GHSA-r633-fcgp-m532","GO-2026-4660"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"FileBrowser Quantum","requires_auth":"low_privilege","summary":"Attackers can inject malicious scripts into share metadata, leading to stored XSS and potential account takeover when victims view public share pages.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"filebrowser","vendor":"filebrowser"}],"cvss":{"score":8.9,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"FileBrowser Quantum is a free, self-hosted, web-based file manager. Prior to 1.3.1-beta and 1.2.2-stable, Stored XSS is possible via share metadata fields (e.g., title, description) that are rendered into HTML for /public/share/\u003chash\u003e without context-aware escaping. The server uses text/template instead of html/template, allowing injected scripts to execute when victims visit the share URL. This vulnerability is fixed in 1.3.1-beta and 1.2.2-stable.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"FileBrowser Quantum: Stored XSS in public share page via unsanitized share metadata (text/template misuse)","id":"CVE-2026-30934","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"ImageMagick has a heap Buffer Over-Read in BilateralBlurImage","id":"CVE-2026-30935"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20260307130210-09713b32a5f6"],"introduced":["0"],"last_affected":[],"package":"github.com/gtsteffaniak/filebrowser","purl":null,"source":"GHSA-r633-fcgp-m532"},{"ecosystem":"Go","fixed":["0.0.0-20260307130210-09713b32a5f6"],"introduced":["0"],"last_affected":[],"package":"github.com/gtsteffaniak/filebrowser","purl":"pkg:golang/github.com/gtsteffaniak/filebrowser","source":"GHSA-r633-fcgp-m532"},{"ecosystem":"Go","fixed":["0.0.0-20260307130210-09713b32a5f6"],"introduced":["0"],"last_affected":[],"package":"github.com/gtsteffaniak/filebrowser","purl":"pkg:golang/github.com/gtsteffaniak/filebrowser","source":"GO-2026-4660"}],"prev":{"headline":"FileBrowser Quantum: Password-Protected Share Bypass via /public/api/share/info","id":"CVE-2026-30933"},"products":["filebrowser"],"published":"2026-03-10","related":[{"cvss_score":10,"headline":"File Browser Self Registration Grants Any User Admin Access When Default Permissions Include Admin","id":"CVE-2026-32760","kev_date_added":null,"published":"2026-03-19"},{"cvss_score":9.1,"headline":"File Browser: TUS Delete Endpoint Bypasses Delete Permission Check","id":"CVE-2026-29188","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":9,"headline":"Cross-site scripting in n/a","id":"CVE-2023-39612","kev_date_added":null,"published":"2023-09-16"},{"cvss_score":8.8,"headline":"Cross-Site Request Forgery in Filebrowser","id":"CVE-2021-46398","kev_date_added":null,"published":"2022-02-04"},{"cvss_score":8.2,"headline":"File Browser share links remain accessible after Share/Download permissions are revoked","id":"CVE-2026-35604","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":8.1,"headline":"File Browser: Proxy auth auto-provisioned users inherit Execute permission and Commands","id":"CVE-2026-35607","kev_date_added":null,"published":"2026-04-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-10","vendors":["gtsteffaniak"]},"summary":"Attackers can inject malicious scripts into share metadata, leading to stored XSS and potential account takeover when victims view public share pages.","url":"https://insights.sbomify.com/CVE-2026-30934/"}