CVE-2025-56761
JSON

5.4medium

Memos Vulnerable to Stored Cross-Site Scripting

Severity
5.4medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.29% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-cgrg-86m5-xm4wGO-2025-3937

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
github.com/usememos/memos (Go)up to 0.22.0, all versionsGitHub Advisory Database, Go Vulnerability Database
usememos memos0.22.0NVD

All scores

CISA-ADP5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

Go Vulnerability Database

Memos Vulnerable to Stored Cross-Site Scripting in github.com/usememos/memos

NVD (es)

Memos 0.22 es vulnerable a vulnerabilidades de Cross-site scripting almacenado (XSS) por las funciones de carga de archivos adjuntos y avatares de usuario. Memos no verifica el tipo de contenido de los datos cargados y los devuelve tal cual. Un atacante autenticado puede usar esto para elevar sus privilegios cuando el XSS almacenado es visto por un administrador.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-56761 changed 2025-09-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-cgrg-86m5-xm4w changed 2025-09-08CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3937 changed 2026-03-03CC-BY-4.0
NVDCVE-2025-56761 changed 2026-11-07Public domain