# CVE-2022-32167: Cross site scripting in Cloudreve

Source: https://junglewise.ai/threats/cve-2022-32167-cross-site-scripting-in-cloudreve  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-09-21  
License: CC BY 4.0 with a link back

CVE-2022-32167 · Severity: low · CVSS 3.1 · Published 2022-09-21

Cross site scripting in Cloudreve

Technologies: [github.com/cloudreve/Cloudreve/v3 (Go)](https://junglewise.ai/threats/technologies/github-com-cloudreve-cloudreve-v3). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2022-32167 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-32167 being exploited in the wild.

**How severe is CVE-2022-32167?** Low severity, with a CVSS score of 3.1, published 21 September 2022.

**Which products and versions are affected?** github.com/cloudreve/Cloudreve/v3 (Go) SEMVER:introduced=3.0.0,fixed=3.6.0-beta1; github.com/HFO4/cloudreve (Go) SEMVER:introduced=1.0.0,last_affected=2.0.0.

**Is there a fix for CVE-2022-32167?** Yes. github.com/cloudreve/Cloudreve/v3 (Go): upgrade to 3.6.0-beta1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-32167?** Check whether you run github.com/cloudreve/Cloudreve/v3 (Go) or github.com/HFO4/cloudreve (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/cloudreve/Cloudreve/v3 (Go): upgrade to 3.6.0-beta1 or later

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


## Affected products

- github.com/cloudreve/Cloudreve/v3 (Go) SEMVER:introduced=3.0.0,fixed=3.6.0-beta1
- github.com/HFO4/cloudreve (Go) SEMVER:introduced=1.0.0,last_affected=2.0.0

## Identifiers

- CVE-2022-32167
- GHSA-fg25-gq9g-32mx

## Related threats

- [Cloudreve SSRF guard bypass via IPv6 transition wrappers](https://junglewise.ai/threats/cve-2026-79913-cloudreve-ssrf-guard-bypass-via-ipv6-transition-wrappers)
- [Cloudreve privilege scope bypass in admin API endpoints](https://junglewise.ai/threats/cve-2026-77637-cloudreve-privilege-scope-bypass-in-admin-api-endpoints)
- [Cloudreve TOCTOU race in storage-quota check and charge](https://junglewise.ai/threats/cve-2026-77633-cloudreve-toctou-race-in-storage-quota-check-and-charge)
- [GO-2026-6289 - Cloudreve's remote download file paths can escape the selected destination directory in…](https://junglewise.ai/threats/go-2026-6289-cloudreve-s-remote-download-file-paths-can-escape-the-0fd07225)
- [GO-2026-6287 - Cloudreve has Broken Access Control - Revoked Share Access Still Allows Signed File URL Generation via…](https://junglewise.ai/threats/go-2026-6287-cloudreve-has-broken-access-control-revoked-share-access-7b70315e)
