{"id":"CVE-2024-41659","published":"2024-08-20T19:54:08Z","modified":"2025-01-09T19:15:30Z","title":"GHSL-2024-034: memos CORS Misconfiguration in server.go","vendor":"usememos","product":"memos","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00937,"percentile":0.592,"provenance":"source"},"cwes":[{"id":"CWE-942","name":"Permissive Cross-domain Security Policy with Untrusted Domains"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2024-034_memos/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/usememos/memos/commit/8101a5e0b162044c16385bee4f12a4a653d050b9","tags":["x_refsource_MISC"]},{"url":"https://github.com/usememos/memos/blob/v0.20.1/server/server.go#L163","tags":["x_refsource_MISC"]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":11.84},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"usememos","affectedVersions":[{"vendor":"usememos","product":"memos","versions":["< 0.21.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-21T13:24:07.900591Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/usememos/memos","vulnerableRanges":["<0.21.0"],"patched":["0.21.0"],"from":["GHSA-p4fx-qf2h-jpmj","GO-2024-3088"],"provenance":"source"}],"summary":{"text":"The flaw is a CORS misconfiguration in server.go of the memos note-taking service, where arbitrary request origins are reflected back with Access-Control-Allow-Credentials set to true. An attacker who lures a logged-in user to a malicious website can make cross-origin requests that read private information or make privileged changes as that user, requiring only that the victim visit the attacker's page with no authentication on the attacker's part.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:21:05Z"},"euvd":{"id":"EUVD-2024-2620","exploited":false,"provenance":"source"}}