GitHub Advisoryadvisory · Go

GHSA-9cqm-mgv9-vv9j memos vulnerable to Server-Side Request Forgery and Cross-site Scripting

MEDIUM Published 2024-08-05 Modified 2024-08-05 Official page ↗
Aliases
CVE-2024-29029
Ecosystem
Go
Packages
github.com/usememos/memos
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79, CWE-918
Reviewed
2024-08-05

Affected packages

• Go github.com/usememos/memos: < 0.22.0 → fixed in 0.22.0

Description

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.

Related

Alias · CVE (1)

  • CVE-2024-29029 memos is a privacy-first, lightweight note-taking service. vulnerability

Weakness · CWE (2)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness
  • CWE-918 Server-Side Request Forgery weakness

References