Original 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 software
- Memos *= 0.22.0 repository or package match
Details
- Published
- 2025-09-03
- Last modified
- 2026-11-07
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N- CWE
- CWE-79
- EPSS (30-day exploit probability)
- 0.27% (percentile 19)
References
- cve.org/CVE-2025-56761
- nvd.nist.gov/vuln/detail/CVE-2025-56761
- github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go#L147
- github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48
- www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.