Skip to main content

Dromara free-fs EUVDEUVD-2026-125604

| CVE-2026-129163 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-13 VulnCheck GHSA-x8w9-4784-h853
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as registered user
  2. Delivery
    Upload malicious HTML file
  3. Exploit
    Send victim preview link (/api/file/stream/preview/{fileId})
  4. Execution
    Script executes in application origin
  5. Impact
    Call /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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

free-fs 2.0.1 ≤2.3.1

Affected Packages

euvd free_fs no fix

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

Vendor (VulnCheck) PRIMARY 5.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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).

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:L/VI:L/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
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
niche open-source self-hosted file-storage project, minimal enterprise footprint
Data Quality
5 sources
Confidence: Medium

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 No
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

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.

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