ADVISORIES

GitHub Advisory Database

GHSA-9cqm-mgv9-vv9j

memos vulnerable to Server-Side Request Forgery and Cross-site Scripting

Details

memos is a privacy-first, lightweight note-taking service. In memos 0.13.2, an SSRF vulnerability exists at the /o/get/image that allows unauthenticated users to enumerate the internal network and retrieve images. The response from the image request is then copied into the response of the current server request, causing a reflected XSS vulnerability. Version 0.22.0 of memos removes the vulnerable file.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/usememos/memos
All versions before 0.22.0 (fixed in 0.22.0)

References