# CVE-2022-32167: Cloudreve - Stored XSS

- Severity: Medium 5.4 (CVSS:3.1, scored by Mend) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-20T14:45:19.000Z
- Modified: 2026-06-17T04:46:47.643Z
- Also known as: GHSA-fg25-gq9g-32mx
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: Mend

## Description

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.

(As written by CVE List.)

## Affected

- Cloudreve Cloudreve: from 3.0.0-beta before unspecified; from unspecified up to 3.5.3; from 1.0.0 up to 3.5.3
- github.com/HFO4/cloudreve (Go): from 1.0.0 up to 2.0.0
- github.com/cloudreve/Cloudreve/v3 (Go): from 3.0.0 before 3.6.0-beta1

## Every score

- Mend: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.mend.io/vulnerability-database/CVE-2022-32167> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-32167> (advisory)
- <https://github.com/cloudreve/Cloudreve/commit/4b85541d73949969f41ad46d1e00544c9f1a7538> (web)
- <https://github.com/cloudreve/Cloudreve> (package)
- <https://github.com/cloudreve/Cloudreve/releases/tag/3.6.0-beta1> (web)

## Sources

- CVE List: [CVE-2022-32167](https://www.cve.org/CVERecord?id=CVE-2022-32167), CVE Terms of Use, modified 2025-05-29
- GitHub Advisory Database: [GHSA-fg25-gq9g-32mx](https://github.com/advisories/GHSA-fg25-gq9g-32mx), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-32167](https://nvd.nist.gov/vuln/detail/CVE-2022-32167), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-32167 · Whole record: https://cve.day/CVE-2022-32167.json · Rebuilt by cve.day 2026-11-25T22:58:15.134Z
