Rejetto HFS
CVE-2026-61501
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted failed login with JavaScript payload in username
-
DeliveryUsername persisted unsanitized in HFS error log
-
ExploitAdmin opens log viewer in administration panel
-
ExecutionStored JavaScript executes in admin browser session
-
ImpactCreate backdoor admin account or execute server-side code with admin privileges
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 | Exploitation requires two sequential conditions: first, the attacker must reach the HFS login endpoint over the network and submit a failed authentication attempt using a crafted username containing a JavaScript payload - no credentials, prior account, or special configuration are needed for this injection step, as it exploits the standard unauthenticated login flow present in all default HFS 3.x installations. Second, a legitimate HFS administrator must subsequently open the log viewer in the administration panel, which passively triggers the stored payload; without this interaction the payload remains dormant indefinitely. Exploitation is bounded to Rejetto HFS versions 3.0.0-3.2.0 running on the host. The primary limiting factor on real-world risk is the wait for an admin to view the logs - however, log review is a routine administrative activity, not an exceptional one. There are no non-default configuration requirements and no platform restrictions mentioned. |
| Impact | The CVSS 4.0 base score of 5.3 reflects the passive user-interaction requirement (UI:P) - an administrator must view the log before the payload fires - which correctly prevents the score from reaching Critical. However, the provided vector assigns SC:L/SI:L to subsequent-system impact, which appears to materially understate the described outcome: the CVE description explicitly states the attacker can create accounts or execute code on the server with administrator privileges, which warrants SI:H. The attack vector for injection is network-accessible, requires no authentication, and involves no special configuration, making the injection step trivially automated. The only meaningful throttle is the wait for an admin to open the log viewer - a routine operational activity that makes triggering the payload a question of patience rather than sophisticated social engineering. No EPSS score was supplied and this CVE does not appear in CISA KEV, so there is no confirmed in-the-wild exploitation signal. No public proof-of-concept code was identified in the provided data. Overall, operational risk is meaningfully higher than the 5.3 score suggests given the zero-friction injection step and the high-value outcome of administrative code execution. |
| Exploit ScenarioDerived | An attacker submits a failed login to an internet-exposed HFS 3.x instance using a username containing a JavaScript payload - for example, a script that silently calls the HFS API to create a new administrator account using the active session. The entry is written to the error log without sanitization. The next time an HFS administrator opens the log viewer, the payload executes in their browser, creating the backdoor account and returning the credentials to an attacker-controlled endpoint, all without any visible indication to the administrator. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 13, 2026
Stored cross-site scripting in Rejetto HTTP File Server 3.0.0-3.2.0 allows an unauthenticated remote attacker to inject persistent JavaScript into the server error log via a crafted username in a failed login attempt. When an administrator views the log panel, the payload executes in their browser session, granting the attacker the ability to create accounts or execute server-side code with full administrative privileges. No public exploit has been identified at time of analysis, but the attack chain is low-complexity and the vendor has confirmed a fix in v3.2.1.
RemediationAI
Upgrade Rejetto HFS to version 3.2.1 immediately; this is the vendor-confirmed patched release addressing CVE-2026-61501 along with additional co-disclosed security issues, available at https://github.com/rejetto/hfs/releases/tag/v3.2.1. If an immediate upgrade is operationally blocked, restrict access to the HFS administration panel to a trusted IP allowlist via host-based firewall or network segmentation - this prevents both injection of new payloads and prevents any existing log payloads from being triggered by unauthorized administrators. As a secondary control, disable the public-facing login endpoint if unauthenticated user access is not required for the deployment; this eliminates the injection vector entirely at the cost of removing self-service login for legitimate users. Note that purging existing logs will remove any staged payloads but does not fix the underlying rendering flaw and does not protect against re-injection.
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) is a lightweight Windows-based file-sharing application. The affected scope (CPE: cpe:2.3:a:rejetto:hfs:*:*:*:*:*:*:*:*) covers all 3.x releases from 3.0.0 through 3.2.0. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation): the administration panel's log viewer renders log entries as raw HTML rather than escaping or sanitizing them, allowing attacker-controlled content supplied in the username field of a failed login to be persisted as executable script. Because the log viewer runs inside an authenticated administrator session, the injected JavaScript executes with the full privilege context of that session, enabling secondary impacts - account creation and server-side code execution - that substantially exceed the direct XSS impact.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
No privileges needed to inject; scope changes because XSS fires in admin browser enabling server code execution, warranting I:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Rejetto HFS 3.0.0 through 3.2.0 renders log entries in the administration panel as HTML without sanitization. A remote unauthenticated attacker can submit a failed login with a crafted username that is written to the error log and executes JavaScript in an administrator's browser when the logs are viewed, allowing the attacker to create accounts or execute code on the server with the administrator's privileges.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
Administrator session forgery in Rejetto HFS (HTTP File Server) versions 3.0.0 through 3.2.0 lets a remote unauthenticat
Path traversal via the `lang` query parameter in Rejetto HFS 3.0.0 through 3.2.0 enables remote unauthenticated attacker
Username enumeration in Rejetto HFS 3.0.0-3.2.0 exposes valid account names-including the default admin account-to remot
Rejetto HTTP File Server (HFS) versions 3.0.0 through 3.2.0 performs state-changing administrative operations via HTTP G
Stored XSS in Rejetto HFS 3.0.0 through 3.2.0 allows attackers with upload access - or any user on servers configured wi
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB