CVE-2026-129163
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 ser…
Impact
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.
An attacker can exploit this over the network, with a regular user account, but a user has to be involved, for example by viewing content. If it succeeds: low risk of data being read, low risk of data or systems being changed.
Affected products · Dromara
| Product | Affected versions |
|---|---|
| Free-fs | from 2.0.1 through 2.3.1 Version 2.0.1 ≤2.3.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://vul.yulun.ac.cn/20261024/free-fs/
- https://github.com/dromara/free-fs/issues/28
- https://github.com/dromara/free-fs/blob/f8f4ff2a0b0af8fcd5cbecbf99a4afb7d0b7c020/fs-modules/fs-file/src/main/java/com/xddcodec/fs/file/controller/FileStreamController.java#L209-L237
- https://www.vulncheck.com/advisories/dromara-free-fs-2.0.1-through-2.3.1-stored-xss-via-file-preview-endpoint
- https://github.com/advisories/GHSA-x8w9-4784-h853
- https://nvd.nist.gov/vuln/detail/CVE-2026-129163
- https://vul.yulun.ac.cn/20261024/free-fs