GitHub Advisory Database
GHSA-fg25-gq9g-32mx
Cross site scripting in Cloudreve
Details
Cloudreve versions v1.0.0 through v3.5.3 are vulnerable to Stored Cross-Site Scripting (XSS), via the file upload functionality. A low privileged user will be able to share a file with an admin user, which could lead to privilege escalation.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/HFO4/cloudreve | From 1.0.0 up to and including 2.0.0 |
| Go | github.com/cloudreve/Cloudreve/v3 | From 3.0.0 before 3.6.0-beta1 (fixed in 3.6.0-beta1) |