Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as registered user
-
DeliveryUpload malicious HTML file
-
ExploitSend victim preview link (/api/file/stream/preview/{fileId})
-
ExecutionScript executes in application origin
-
ImpactCall /apis to exfiltrate victim files and account
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 | Requires an authenticated registered account on the free-fs instance to upload a file (PR:L), and the uploaded HTML must be retrieved through the /api/file/stream/preview/{fileId} endpoint, which serves user content inline with a text/html content type rather than forcing download or neutralizing it. Exploitation further requires victim interaction (UI:P): the attacker must get a victim to open the crafted preview link, at which point the script runs in the application origin and can call /apis endpoints in the victim's session. Limiting factors: attacker must hold valid credentials, a human victim must click the link, impact is scoped to the victim's own files/account (all Low impacts), and only versions 2.0.1 through 2.3.1 are stated as affected. |
| Impact | The input CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N, score 5.1, medium) describes a network-reachable but privilege-and-interaction-gated stored XSS. Two factors cap real-world severity: PR:L means the attacker must already hold a registered account to upload the malicious file, and UI:P means a victim must open the attacker-supplied preview link - this is not drive-by or wormable. Impacts are all 'Low' (VC:L/VI:L and subsequent SC:L/SI:L), reflecting script execution confined to reading/acting on the victim's own files and account rather than full server compromise. On the exploitation-likelihood side the signals are consistently low-to-moderate: no CISA KEV listing is present, no EPSS probability is supplied, and the input contains no confirmed PoC/exploit-code flag - so exploitation status is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_month' (not act_now or emergency), which aligns with a patch-on-normal-cycle priority rather than an urgent one. The signals do not conflict: a medium CVSS, absent KEV, absent EPSS, no confirmed exploit, and a 'this_month' decision all point to a genuine-but-moderate issue. Note EPSS is MISSING from the input, so probabilistic exploitation likelihood cannot be quantified, and no vendor fix version is present in the supplied data. |
| Exploit ScenarioDerived | A registered user uploads an HTML file carrying malicious JavaScript; because the /api/file/stream/preview/{fileId} endpoint serves uploaded content inline as text/html, the script runs in the application's own origin when a victim opens the attacker-supplied preview link. The script can then invoke /apis endpoints in the victim's authenticated context to enumerate and expose the victim's files and account data. No public exploit code is identified, though a VulnCheck advisory and a direct source reference to FileStreamController document the flawed inline-serving behavior. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Stored cross-site scripting in Dromara free-fs 2.0.1 through 2.3.1 lets an authenticated registered user upload an HTML file that the /api/file/stream/preview/{fileId} endpoint later serves inline as text/html, so script executes in the application's own origin when a victim opens the preview link. Because the payload runs same-origin, it can call /apis endpoints in the victim's session and expose that victim's files and account data. Exploitation requires a valid account to upload the file (PR:L) and a victim who follows the crafted link (UI:P); all impact ratings are Low and the scope is limited to the victim's own files and account. No public exploit code was identified at time of analysis, and the vulnerability is not listed in CISA KEV.
RemediationAI
No vendor-released patch identified at time of analysis: the available references point to the upstream GitHub issue (#28) and the vulnerable controller source rather than to a tagged release containing a fix, so operators should track that issue for a patched version. Until a fix is confirmed, the most direct mitigation is to neutralize the preview path: change FileStreamController's preview response to send Content-Disposition: attachment and X-Content-Type-Options: nosniff, or force a non-renderable content type such as text/plain or application/octet-stream, which stops script execution but degrades legitimate in-browser previews of documents and images. Where the preview feature is not needed, disable or block the /api/file/stream/preview/{fileId} route at the reverse proxy; this removes the attack vector but also removes a user-facing feature. Serving user-uploaded files from a separate, cookieless origin or dedicated file domain would keep any surviving script out of the application origin, at the cost of additional infrastructure and CORS configuration. Restricting uploads to an allowlist that excludes .html, .htm, .svg and similar active content reduces the planting step, though it does not correct servers that already store such files. Restricting /apis calls to same-origin requests cannot be relied on alone, since the payload runs in the application origin itself. Because the vector requires only a registered account, reviewing and pruning unused accounts limits who can plant payloads.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-79 cross-site scripting issue rooted in unsafe handling of user-controlled file content by the file streaming module. Per the referenced source, FileStreamController.java (lines 209-237 in the linked blob) implements the /api/file/stream/preview/{fileId} route, which returns uploaded content inline using a text/html content type instead of forcing a download disposition or sanitizing the body. Any registered user able to upload files can therefore plant an HTML document containing script; when another user loads the preview URL, the browser parses the response as HTML in the free-fs origin, giving the attacker's script access to same-origin APIs such as /apis. The CPE cpe:2.3:a:dromara:free-fs:*:*:*:*:*:*:*:* identifies Dromara free-fs as the affected product. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N, 5.1 medium) and the independently assessed CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) agree on network reachability, low attack complexity, low privileges required and required user interaction; the vectors describe severity and prerequisites only, and the sources do not describe any further trigger mechanics beyond the inline HTML file preview path.
Know when Free Fs 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:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Registered-user upload gives PR:L, victim must open the link so UI:R, script crosses into the browser/session context giving S:C, and impact is limited read/manipulation of the victim's data (C:L/I:L, A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Dromara free-fs 2.0.1 through 2.3.1 contains a stored cross-site scripting vulnerability that allows registered users to run script by uploading HTML files served inline as text/html. Attackers can send a victim the /api/file/stream/preview/{fileId} link to execute script in the application origin, calling /apis endpoints to expose the victim's files and account.
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.
Account takeover in Dromara free-fs 2.0.1 through 2.3.1 is possible because the password-reset flow at PUT /apis/user/fo
Unauthenticated file disclosure in Dromara free-fs 2.0.1 through 2.3.1 lets remote attackers download other users' and w
Authorization bypass in Dromara free-fs 2.0.1 through 2.3.1 lets a remote attacker who knows a valid share ID list and d
SQL injection in Dromara free-fs 2.0.1 through 2.3.1 allows an authenticated user to read arbitrary database contents th
EUVD-2026-125604
GHSA-x8w9-4784-h853
NVD
CVE.org
EPSS
Exploit-DB