XSS in Usememos Memos
CVE-2025-56761
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.003, 19.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Usememos Memos — versions 0.22.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go (Product)
- github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go (Product)
- www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-exa… (Exploit, Patch, Third Party Advisory)