Advisory

GHSA-cgrg-86m5-xm4w

Also known as: CVE-2025-56761, GO-2025-3937

Summary

Memos Vulnerable to Stored Cross-Site Scripting

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-09-04 15:30 UTC
Modified
2025-09-08 14:59 UTC

Affected packages and fixes

github.com/usememos/memos

Go · All systems

Affected

  • introduced 0, last affected 0.22.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences