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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:usememos:memos:0.22.0:*:*:*:*:*:*:*

History

09 Sep 2025, 18:27

Type Values Removed Values Added
CPE cpe:2.3:a:usememos:memos:0.22.0:*:*:*:*:*:*:*
References () https://github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go#L147 - () https://github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go#L147 - Product
References () https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48 - () https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48 - Product
References () https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/ - () https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/ - Exploit, Patch, Third Party Advisory
First Time Usememos
Usememos memos

04 Sep 2025, 15:35

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 6.1
v2 : unknown
v3 : 5.4

03 Sep 2025, 20:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.1
CWE CWE-79

03 Sep 2025, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-09-03 17:15

Updated : 2025-09-09 18:27


NVD link : CVE-2025-56761

Mitre link : CVE-2025-56761

CVE.ORG link : CVE-2025-56761


JSON object : View

Products Affected

usememos

  • memos
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')