GHSA-cgrg-86m5-xm4w

Suggest an improvement
Source
https://github.com/advisories/GHSA-cgrg-86m5-xm4w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-cgrg-86m5-xm4w/GHSA-cgrg-86m5-xm4w.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cgrg-86m5-xm4w
Aliases
Published
2025-09-04T15:30:28Z
Modified
2025-09-08T14:59:26.448996Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
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.

Database specific
{
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed_at": "2025-09-05T15:33:48Z",
    "nvd_published_at": "2025-09-03T17:15:34Z"
}
References

Affected packages

Go / github.com/usememos/memos

Package

Name
github.com/usememos/memos
View open source insights on deps.dev
Purl
pkg:golang/github.com/usememos/memos

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.22.0