{"id":"CVE-2024-41659","aliases":["CVE-2024-41659","GHSA-p4fx-qf2h-jpmj","GO-2024-3088"],"related":[],"kind":"vulnerability","state":"published","title":"GHSL-2024-034: memos CORS Misconfiguration in server.go","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"memos CORS Misconfiguration in server.go (GHSL-2024-034) in github.com/usememos/memos","format":"markdown","source":"go"},{"lang":"es","text":"Memos es un servicio de toma de notas liviano y que prioriza la privacidad. Existe una configuración incorrecta de CORS en memos 0.20.1 y versiones anteriores donde se refleja un origen arbitrario con Access-Control-Allow-Credentials establecido en verdadero. Esto puede permitir que un sitio web atacante realice una solicitud de origen cruzado, lo que le permite leer información privada o realizar cambios privilegiados en el sistema como cuenta de usuario vulnerable.","source":"nvd"}],"published":"2024-08-20T19:54:08.182Z","modified":"2026-06-17T07:48:00.077Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-942"],"affected":[{"ranges":[{"version":"< 0.21.0","status":"affected"}],"vendor":"usememos","product":"memos","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"0.20.1","status":"affected"}],"vendor":"usememos","product":"memos","cpe":"cpe:2.3:a:usememos:memos:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.21.0"}],"ecosystem":"Go","package":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.21.0"}],"ecosystem":"Go","package":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","source":"go"},{"ranges":[{"status":"affected","fixed":"0.21.0"}],"vendor":"usememos","product":"memos","cpe":"cpe:2.3:a:usememos:memos:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2024-034_memos/","tags":["exploit","third-party-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/usememos/memos/commit/8101a5e0b162044c16385bee4f12a4a653d050b9","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/usememos/memos/blob/v0.20.1/server/server.go#L163","tags":["product","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41659","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/usememos/memos","tags":["package"],"sources":["ghsa"]},{"url":"https://securitylab.github.com/advisories/GHSL-2024-034_memos","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-p4fx-qf2h-jpmj","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-08-21T13:24:07.900Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-41659","url":"https://www.cve.org/CVERecord?id=CVE-2024-41659","licence":"CVE Terms of Use","modified":"2025-01-09T19:15:30.589Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p4fx-qf2h-jpmj","url":"https://github.com/advisories/GHSA-p4fx-qf2h-jpmj","licence":"CC-BY-4.0","modified":"2024-08-30T17:42:22.631Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3088","url":"https://pkg.go.dev/vuln/GO-2024-3088","licence":"CC-BY-4.0","modified":"2026-03-03T04:55:43.917Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-41659","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41659","licence":"Public domain","modified":"2026-06-17T07:48:00.077Z"}],"updatedAt":"2026-11-25T22:58:44.596Z","epss":{"score":0.00643,"percentile":0.52166,"date":"2026-12-01T12:00:22.000Z"}}