CVE-2025-56761
MEDIUM5.4EPSS 0.06%Memos Vulnerable to Stored Cross-Site Scripting
發布日:2025/9/4修改日:2025/9/8
描述
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.
受影響套件(2)
- Go/github.com/usememos/memosfrom 0, <= 0.22.0
- Go/github.com/usememos/memosfrom 0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
參考連結(6)
- ADVISORYhttps://github.com/advisories/GHSA-cgrg-86m5-xm4w
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-56761
- PATCHhttps://github.com/usememos/memos
- WEBhttps://github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go#L147
- WEBhttps://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48
- WEBhttps://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples