CVE-2025-56761
MEDIUM 5.4CVSS 3.1Memos Vulnerable to Stored Cross-Site Scripting
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.
- Published
- 3 Sep 2025
- Last modified
- 7 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-cgrg-86m5-xm4wGO-2025-3937
- Sources
- NVDJSONOSV GHSA-cgrg-86m5-xm4wJSONOSV GO-2025-3937JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | usememos | memoscpe:2.3:a:usememos:memos:0.22.0:*:*:*:*:*:*:* |
= 0.22.0 | |
| OSV | Go | github.com/usememos/memos | <= 0.22.0 | |
| OSV | Go | github.com/usememos/memos | all versions |
References
- https://github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go#L147 · Product, WEB
- https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48 · Product, WEB
- https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/ · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-56761 · ADVISORY
- https://github.com/usememos/memos · PACKAGE
- https://github.com/advisories/GHSA-cgrg-86m5-xm4w · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 3 Sep 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Sep 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 4 Sep 2025)