Skip to content
OpenAdvisories
Medium · 5.4 CVE-2025-56761 EUVD-2025-26608GHSA-cgrg-86m5-xm4wGO-2025-3937

Memos Vulnerable to Stored Cross-Site Scripting

Published Sep 3, 2025 · Updated Sep 4, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20250918T182144-150000.1.107.1 SUSE-SU-2025:03289-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250908T141310-1.1 openSUSE-SU-2025:15538-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20250918T182144-150000.1.107.1 SUSE-SU-2025:03289-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/usememos/memos <= 0.22.0 — GHSA-cgrg-86m5-xm4w
Go github.com/usememos/memos all versions — GO-2025-3937

Advisories 3

References