Vulnerability · Published Sep 3, 2025 · Assigned by mitre

CVE-2025-56761

Medium 5.4

In plain English

A medium-severity cross-site scripting in the github.com/usememos/memos package (Go). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities).

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.3%top 80.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/usememos/memosno fix listedGHSA-cgrg-86m5-xm4w
Gogithub.com/usememos/memosno fix listedGO-2025-3937

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

References