Dromara free-fs 2.0.1 through 2.3.1 Stored XSS via File Preview Endpoint
- State
- Published
- Severity
- 5.1 Medium
- Published
- Nov 13, 2026
- Updated
- Nov 18, 2026
- Reserved
- Nov 13, 2026
Description
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.
| Product | Versions |
|---|---|
| free-fs dromara | 2.0.1 through 2.3.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.1 Medium | VulnCheck | |
| 3.1 | 5.4 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://vul.yulun.ac.cn/20261024/free-fs/Third-Party Advisory
- https://github.com/dromara/free-fs/issues/28Issue Tracker
- https://github.com/dromara/free-fs/blob/f8f4ff2a0b0af8fcd5cbecbf99a4afb7d0b7c020/fs-modules/fs-file/src/main/java/com/xddcodec/fs/file/controller/FileStreamController.java#L209-L237Technical Details
- VulnCheck Advisory: Dromara free-fs 2.0.1 through 2.3.1 Stored XSS via File Preview EndpointThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.