NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2025-56761: Memos Vulnerable to Stored Cross-Site Scripting

mediumCVSS 3.1 5.4GHSA-cgrg-86m5-xm4w

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.

Published Sep 4, 2025 · Updated Sep 5, 2025

Affected packages

github.com/usememos/memos

Ecosystem
Go
Affected
<= 0.22.0
Fixed in
No patched version yet
Check
go list -m github.com/usememos/memos

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries