CVEvulnerability
CVE-2025-56761
5.4 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-09-03
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
Description
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.
Affected configurations
• usememos memos 0.22.0
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go#L147 Product
- https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48 Product
- https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/ Exploit, Patch, Third Party Advisory