VDB
Sign up
MEDIUM5.4

GHSA-fg25-gq9g-32mx

Cross site scripting in Cloudreve

Quick fix

GHSA-fg25-gq9g-32mx — github.com/cloudreve/Cloudreve/v3: upgrade to the fixed version with the command below.

go get github.com/cloudreve/Cloudreve/v3@v3.6.0-beta1

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/HFO4/cloudreve
Introduced in: 1.0.0

No fixed version published yet for github.com/HFO4/cloudreve (go modules). Pin to a known-safe version or switch to an alternative.

Go/github.com/cloudreve/Cloudreve/v3
Introduced in: 3.0.0Fixed in: 3.6.0-beta1
Fixgo get github.com/cloudreve/Cloudreve/v3@v3.6.0-beta1

References