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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/usememos/memos (Go) | before 0.24.4 | GitHub Advisory Database, Go Vulnerability Database |
| usememos memos | up to 0.24.3 | NVD |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | medium CVSS:4.0 | 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 |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-50738 changed 2025-08-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hfcf-79gh-f3jc changed 2025-08-22 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3831 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2025-50738 changed 2026-06-17 | Public domain |