Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/usememos/memos
  4. ›
  5. CVE-2024-29029

CVE-2024-29029: memos vulnerable to Server-Side Request Forgery and Cross-site Scripting

August 5, 2024

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.

References

  • github.com/advisories/GHSA-9cqm-mgv9-vv9j
  • github.com/usememos/memos
  • github.com/usememos/memos/blob/06dbd8731161245444f4b50f4f9ed267f7c3cf63/api/v1/http_getter.go
  • github.com/usememos/memos/commit/bbd206e8930281eb040cc8c549641455892b9eb5
  • nvd.nist.gov/vuln/detail/CVE-2024-29029
  • securitylab.github.com/advisories/GHSL-2023-154_GHSL-2023-156_memos

Code Behaviors & Features

Detect and mitigate CVE-2024-29029 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.22.0

Fixed versions

  • 0.22.0

Solution

Upgrade to version 0.22.0 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

go/github.com/usememos/memos/CVE-2024-29029.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:19 +0000.