GitHub Advisoryadvisory · Go

GHSA-hfcf-79gh-f3jc Memos has Cross-Site Scripting (XSS) Vulnerability in Image URLs

MEDIUM Published 2025-07-29 Modified 2025-08-22 Official page ↗
Aliases
CVE-2025-50738
Ecosystem
Go
Packages
github.com/usememos/memos
Severity
Moderate
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N/E:P
Weaknesses
CWE-200, CWE-79
Reviewed
2025-07-29

Affected packages

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

Description

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.

Related

Alias · CVE (1)

  • CVE-2025-50738 The Memos application, up to version v0.24.3, allows for the embedding of markdown images with arbitrary URLs. vulnerability

Weakness · CWE (2)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References