CVE-2026-61504 Rejetto HFS < 3.2.1 Stored XSS via File Names in Basic Web Listing
Attackers can inject malicious scripts via file names in HFS basic web listings, leading to code execution in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-61504?
CVE-2026-61504 is a medium-severity cross-site scripting vulnerability in rejetto hfs, published on 13 Jul 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Rejetto HFS 3.0.0 through 3.2.0 does not escape file names in its fallback "basic" web listing, and this listing can be forced by any browser via the ?get=basic parameter. A user with upload permission - or an anonymous user on servers with an open upload folder - can store a file whose name contains script that executes in the browser of anyone viewing the listing.
Weakness: CWE-79
Which versions are affected by CVE-2026-61504?
How do I fix CVE-2026-61504?
No fix has been published for CVE-2026-61504 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-61504 being exploited?
There is no known exploitation of CVE-2026-61504 in the wild and no public exploit code.
Sources
Also known as GHSA-868x-cwwh-grm3.