{"id":"CVE-2026-129163","summary":"Dromara free-fs 2.0.1 through 2.3.1 Stored XSS via File Preview Endpoint","details":"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.","modified":"2026-11-20T05:00:12.947981766Z","published":"2026-11-13T17:21:53.942Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129163.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129163.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129163"},{"type":"ADVISORY","url":"https://vul.yulun.ac.cn/20261024/free-fs/"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/dromara-free-fs-2.0.1-through-2.3.1-stored-xss-via-file-preview-endpoint"},{"type":"REPORT","url":"https://github.com/dromara/free-fs/issues/28"},{"type":"PACKAGE","url":"https://github.com/dromara/free-fs"},{"type":"ARTICLE","url":"https://github.com/dromara/free-fs/blob/f8f4ff2a0b0af8fcd5cbecbf99a4afb7d0b7c020/fs-modules/fs-file/src/main/java/com/xddcodec/fs/file/controller/FileStreamController.java#L209-L237"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dromara/free-fs","events":[{"introduced":"2043aeb5de08258664fb4aad343091d05df86e29"},{"last_affected":"f8f4ff2a0b0af8fcd5cbecbf99a4afb7d0b7c020"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"2.0.1"},{"last_affected":"2.3.1"}],"source":"AFFECTED_FIELD"},{"source":"DESCRIPTION","range":[{"introduced":"2.0.1"},{"last_affected":"2.3.1"}]}]}}],"versions":["v2.3.1","v2.3.0","v2.2.2","v2.2.1","v2.2.0","v2.1.1","v2.1.0","v2.0.3","v2.0.2","v2.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-129163.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}