ADVISORIES

GitHub Advisory Database

GHSA-cgrg-86m5-xm4w

Memos Vulnerable to Stored Cross-Site Scripting

Moderate No fix available CVE-2025-56761GO-2025-3937

Details

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 packages

EcosystemPackageAffected versions
Gogithub.com/usememos/memos
All versions up to and including 0.22.0

References