Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
5.4
CVE-2025-56761: Memos 0.22: Malicious Attachments or Avatars Can Hijack Admin Accounts
CVE-2025-56761 · published 1 year ago
Summary
Memos version 0.22 has a security flaw that allows an attacker to take control of an admin account if they upload a malicious attachment or change an admin's avatar. This could lead to the attacker being able to make changes to the system. Users should update to a newer version of Memos to fix this issue.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| go | github.com | usememos | <= 0.22.0 |
| – | usememos | memos |
0.22.0 cpe:2.3:a:usememos:memos:0.22.0:*:*:*:*:*:*:* |
Original advisory 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 serv...
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.
References
- https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_ser... URL
- https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-wo...
- https://github.com/advisories/GHSA-cgrg-86m5-xm4w
- https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-wo... Third Party Advisory
- https://github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service... URL
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/56xxx/CVE-2025-56761... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-56761 Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published3 Sep 2025
Updated3 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta