GitHub Advisoryadvisory · Go
GHSA-hfcf-79gh-f3jc Memos has Cross-Site Scripting (XSS) Vulnerability in Image URLs
MEDIUM
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
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-50738 advisory
- https://github.com/usememos/memos/issues/4707#issuecomment-2898504237 web
- https://github.com/usememos/memos/commit/46d5307d7f210067b46e07400a728fa9095803d9 web
- https://github.com/fai1424/Vulnerability-Research/tree/main/CVE-2025-50738 web
- https://github.com/usememos/memos package