GHSA-hfcf-79gh-f3jc
Memos has Cross-Site Scripting (XSS) Vulnerability in Image URLs
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/usememos/memos | < 0.24.4 | 0.24.4 |
Details
As written in the advisory (Markdown source, shown as plain text).
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
External links from the advisory. They lead to third-party sites.
- 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/usememos/memos