CVE-2025-50738: Memos has Cross-Site Scripting (XSS) Vulnerability in Image URLs
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.
Published Jul 29, 2025 · Updated Aug 22, 2025
Affected packages
github.com/usememos/memos
- Ecosystem
- Go
- Affected
- < 0.24.4
- Fixed in
- 0.24.4
- Check
go list -m github.com/usememos/memos
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
- https://nvd.nist.gov/vuln/detail/CVE-2025-50738
- https://github.com/usememos/memos/issues/4707#issuecomment-2898504237
- https://github.com/usememos/memos/commit/46d5307d7f210067b46e07400a728fa9095803d9
- https://github.com/fai1424/Vulnerability-Research/tree/main/CVE-2025-50738
- https://github.com/advisories/GHSA-hfcf-79gh-f3jc
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-6634
Memos has an Incorrect Privilege Assignment issue
low6.3No fixApr 20, 2026CVE-2025-65795
memos vulnerability allows the creation of arbitrary accounts
high7.5Dec 8, 2025CVE-2025-65796
memos vulnerability allows arbitrarily reactions deletion
medium4.3Dec 8, 2025CVE-2025-65797
memos vulnerability allows arbitrarily modification or deletion registered identity providers
medium6.5Dec 8, 2025CVE-2025-65798
memos vulnerability allows arbitrarily modification or deletion of attachments
medium5.4Dec 8, 2025CVE-2025-65799
memos lacks file name validation or verification
medium4.3Dec 8, 2025
