Memos 0.22 is vulnerable to Stored Cross site scripting (XSS) vulnerabilities by the…
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | github.com/usememos/memos (Go) | up to 0.22.0 | — | No fix listed | GHSA-cgrg-86m5-xm4w |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- github.com/usememos/memos (Go) Vendor— Affected up to 0.22.0 Fixed in — No fix listed GHSA-cgrg-86m5-xm4w
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-56761
- 2026-10-03 Alias added: GHSA-cgrg-86m5-xm4w
References
Exploit 1
Other 4
- https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48
- https://github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go#L147
- https://github.com/usememos/memos
- https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples
More usememos Memos vulnerabilities
- TI-2025-32234 The Memos application, up to version v0.24.3, allows for the embedding of markdown images… CVSS 3.1CRITICAL 9.8
- TI-2025-16796 elestio memos v0.23.0 is vulnerable to Server-Side Request Forgery (SSRF) due to… CVSS 3.1CRITICAL 9.8
- TI-2023-04328 Improper Access Control in usememos/memos CVSS 3.1CRITICAL 9.8
- TI-2022-04459 Cross-site Scripting (XSS) - Stored in usememos/memos CVSS 3.1CRITICAL 9.0
- TI-2022-04458 Cross-site Scripting (XSS) - Stored in usememos/memos CVSS 3.1CRITICAL 9.0
- TI-2022-04283 Authorization Bypass Through User-Controlled Key in usememos/memos CVSS 3.1CRITICAL 9.8
Sources
- CVE-2025-56761 · CVE Program
- CVE-2025-56761 · NVD
- FIRST EPSS
- GHSA-cgrg-86m5-xm4w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences