GitHub Advisoryadvisory · Go

GHSA-cgrg-86m5-xm4w Memos Vulnerable to Stored Cross-Site Scripting

MEDIUM Published 2025-09-04 Modified 2025-09-05 Official page ↗
Aliases
CVE-2025-56761
Ecosystem
Go
Packages
github.com/usememos/memos
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2025-09-05

Affected packages

• Go github.com/usememos/memos: <= 0.22.0 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2025-56761 Memos 0.22 is vulnerable to Stored Cross site scripting (XSS) vulnerabilities by the upload attachment and user avatar features. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References