CVE-2025-50738
JSON

9.8critical

Memos has Cross-Site Scripting (XSS) Vulnerability in Image URLs

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
2.42% (higher than 84% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-hfcf-79gh-f3jcGO-2025-3831

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
github.com/usememos/memos (Go)before 0.24.4GitHub Advisory Database, Go Vulnerability Database
usememos memosup to 0.24.3NVD

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubmedium CVSS:4.0CVSS: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

Classification

CWE-79CWE-200

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

Go Vulnerability Database

Memos has Cross-Site Scripting (XSS) Vulnerability in Image URLs in github.com/usememos/memos

NVD (es)

La aplicación Memos, hasta la versión v0.24.3, permite incrustar imágenes en formato Markdown con URL arbitrarias. Cuando un usuario visualiza un memo que contiene dicha imagen, su navegador obtiene automáticamente la URL de la imagen sin su consentimiento explícito ni interacción alguna más allá de la visualización del memo. Un atacante puede aprovechar esto para divulgar la dirección IP del usuario, la cadena de agente de usuario del navegador y, potencialmente, otra información específica de la solicitud al servidor controlado por el atacante, lo que conlleva la divulgación de información y el rastreo del usuario.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-50738 changed 2025-08-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-hfcf-79gh-f3jc changed 2025-08-22CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3831 changed 2026-03-03CC-BY-4.0
NVDCVE-2025-50738 changed 2026-06-17Public domain