CVE-2025-56761
MEDIUM EPSS 14.5%
Published Sep 3, 202510mo ago · Modified Jun 17, 20261w ago
5.4 CVSS 3.1
Published Sep 3, 2025 10mo ago
Last Modified Jun 17, 2026 1w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None
Threat Intelligence
EPSS Exploit Probability
14.5% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-79 Cross-site Scripting Injection
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| usememos | memos | 0.22.0 | any |
References 3
- github.com https://github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go#L147
- github.com https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48
- sonarsource.com https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/
Remediation
- sonarsource.com https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/