ghsa-cgrg-86m5-xm4w
Vulnerability from github
Published
2025-09-04 15:30
Modified
2025-09-05 15:33
Severity ?
VLAI Severity ?
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.
{ "affected": [ { "package": { "ecosystem": "Go", "name": "github.com/usememos/memos" }, "ranges": [ { "events": [ { "introduced": "0" }, { "last_affected": "0.22.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2025-56761" ], "database_specific": { "cwe_ids": [ "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2025-09-05T15:33:48Z", "nvd_published_at": "2025-09-03T17:15:34Z", "severity": "MODERATE" }, "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.", "id": "GHSA-cgrg-86m5-xm4w", "modified": "2025-09-05T15:33:48Z", "published": "2025-09-04T15:30:28Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-56761" }, { "type": "PACKAGE", "url": "https://github.com/usememos/memos" }, { "type": "WEB", "url": "https://github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go#L147" }, { "type": "WEB", "url": "https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48" }, { "type": "WEB", "url": "https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "Memos Vulnerable to Stored Cross-Site Scripting" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…