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

CVE-2025-50738: Memos has Cross-Site Scripting (XSS) Vulnerability in Image URLs

July 29, 2025

The Memos application, up to version v0.24.3, allows for the embedding of markdown images with arbitrary URLs. When a user views a memo containing such an image, their browser automatically fetches the image URL without explicit user consent or interaction beyond viewing the memo. This can be exploited by an attacker to disclose the viewing user’s IP address, browser User-Agent string, and potentially other request-specific information to the attacker-controlled server, leading to information disclosure and user tracking.

References

  • github.com/advisories/GHSA-hfcf-79gh-f3jc
  • github.com/usememos/memos
  • github.com/usememos/memos/commit/46d5307d7f210067b46e07400a728fa9095803d9
  • github.com/usememos/memos/issues/4707
  • nvd.nist.gov/vuln/detail/CVE-2025-50738

Code Behaviors & Features

Detect and mitigate CVE-2025-50738 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.24.4

Fixed versions

  • 0.24.4

Solution

Upgrade to version 0.24.4 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/usememos/memos/CVE-2025-50738.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 19 Aug 2025 12:18:57 +0000.