{"id":"CVE-2024-41659","summary":"GHSL-2024-034: memos CORS Misconfiguration in server.go","details":"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.","aliases":["GHSA-p4fx-qf2h-jpmj","GO-2024-3088"],"modified":"2026-04-10T05:15:50.033373Z","published":"2024-08-20T19:54:08.182Z","database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41659.json","cwe_ids":["CWE-942"]},"references":[{"type":"WEB","url":"https://github.com/usememos/memos/blob/v0.20.1/server/server.go#L163"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41659.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41659"},{"type":"ADVISORY","url":"https://securitylab.github.com/advisories/GHSL-2024-034_memos/"},{"type":"FIX","url":"https://github.com/usememos/memos/commit/8101a5e0b162044c16385bee4f12a4a653d050b9"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/usememos/memos","events":[{"introduced":"0"},{"fixed":"58ae3217ffcb2a9404c41e684aabee31c93bd779"}]}],"versions":["v0.1.2","v0.10.2","v0.10.3","v0.11.0","v0.11.1","v0.11.2","v0.12.0","v0.12.1","v0.12.2","v0.13.0","v0.13.1","v0.13.2","v0.14.0","v0.14.1","v0.14.2","v0.14.3","v0.14.4","v0.15.0","v0.15.1","v0.15.2","v0.16.0","v0.16.1","v0.17.1","v0.18.0","v0.18.1","v0.18.2","v0.19.0","v0.19.1","v0.20.0","v0.20.1","v0.4.0","v0.4.1","v0.4.2","v0.4.3","v0.5.0","v0.6.0","v0.6.1","v0.7.0","v0.7.1","v0.7.2","v0.7.3","v0.8.0","v0.8.1","v0.8.2","v0.8.3","v0.9.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41659.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"}]}