# CVE-2025-56761

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-09-03 · Modified: 2025-09-04
- Aliases: GHSA-cgrg-86m5-xm4w, GO-2025-3937
- Record: https://cvemate.com/vulnerability/CVE-2025-56761 · JSON: https://cvemate.com/vulnerability/CVE-2025-56761/json

## Description

```text
Memos 0.22 is vulnerable to Stored Cross site scripting (XSS) vulnerabilities by the upload attachment and user avatar features. Memos does not verify the content type of the uploaded data and serve it back as is. An authenticated attacker can use this to elevate their privileges when the stored XSS is viewed by an admin.
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.308%, percentile 25.346%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- github.com/usememos memos (Go): ≤ 0.22.0 \| All versions (No fix recorded)
- usememos memos: 0.22.0

## References

- <https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48>
- <https://github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go#L147>
- <https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-56761>
- <https://github.com/usememos/memos>
- <https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples>
- <https://github.com/advisories/GHSA-cgrg-86m5-xm4w>

---

Data as of 2026-12-05T14:33:23.296Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
