Skip to content
OpenAdvisories
High · 8.1 CVE-2024-41659 EUVD-2024-2620GHSA-p4fx-qf2h-jpmjGO-2024-3088

GHSL-2024-034: memos CORS Misconfiguration in server.go

Published Aug 20, 2024 · Updated Jan 9, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
usememos memos < 0.21.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/usememos/memos < 0.21.0 0.21.0 GHSA-p4fx-qf2h-jpmj

References