What’s Vulnerable › Vulnerabilities
CVE-2024-41659: GHSL-2024-034: memos CORS Misconfiguration in server.go
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-08-20 · updated 2026-06-17
- Weakness: CWE-942
Description
memos is a privacy-first, lightweight note-taking service. A CORS misconfiguration exists in memos 0.20.1 and earlier where an arbitrary origin is reflected with Access-Control-Allow-Credentials set to true. This may allow an attacking website to make a cross-origin request, allowing the attacker to read private information or make privileged changes to the system as the vulnerable user account. This vulnerability is fixed in 0.21.0.
Affected products
- usememos/memos: before 0.21.0 — fixed in 0.21.0
How to fix
Upgrade to a fixed version: usememos/memos 0.21.0. Check the vendor advisory for mitigations.
References
- https://github.com/usememos/memos/blob/v0.20.1/server/server.go#L163
- https://github.com/usememos/memos/commit/8101a5e0b162044c16385bee4f12a4a653d050b9
- https://securitylab.github.com/advisories/GHSL-2024-034_memos/
Get alerted when CVE-2024-41659 or the next vulnerability affects your stack