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 products
usememos: memos
References3
- www.sonarsource.com/blog/securing-go-applications-with-sonarqub… ExploitPatchThird Party Advisory
- github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/use… Product
- github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/res… Product
Metrics
- CVSS 3.1
-
5.4
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 19 · as of 8 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.