free-fs stored XSS in HTML file previews
dromara free-fs
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| dromara free-fs |
| No fix yet |
Original 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.
From the CVE record · VulnCheck