{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-41659","id":"CVE-2024-41659","title":"GHSL-2024-034: memos CORS Misconfiguration in server.go","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. T","descriptionLong":"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.","published":"2024-08-20T19:54:08.182Z","updated":"2026-10-28T02:30:48.519579483Z","reserved":"2024-07-18T15:21:47.482Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"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","source":"GitHub"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["usememos memos"],"affectedProducts":[{"vendor":"usememos","product":"memos","defaultStatus":null,"versions":[{"version":"< 0.21.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","ranges":["<0.21.0"],"fixed":["0.21.0"],"advisory":"GHSA-p4fx-qf2h-jpmj"}],"cwes":["CWE-942"],"aliases":["GHSA-p4fx-qf2h-jpmj","GO-2024-3088"],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2024-034_memos/","tags":["x_refsource_CONFIRM","Exploit","Third Party Advisory","advisory"]},{"url":"https://github.com/usememos/memos/commit/8101a5e0b162044c16385bee4f12a4a653d050b9","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/usememos/memos/blob/v0.20.1/server/server.go#L163","tags":["x_refsource_MISC","Product","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41659.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41659","tags":["advisory"]},{"url":"https://github.com/usememos/memos","tags":["package"]},{"url":"https://securitylab.github.com/advisories/GHSL-2024-034_memos","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-p4fx-qf2h-jpmj","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00643,"epssPercentile":0.51663,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-41659","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41659","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-41659","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-p4fx-qf2h-jpmj","ok":true,"note":"GHSA-p4fx-qf2h-jpmj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-41659","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}