Headline
GHSA-hfcf-79gh-f3jc: 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. 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.
- GitHub Advisory Database
- GitHub Reviewed
- CVE-2025-50738
Memos has Cross-Site Scripting (XSS) Vulnerability in Image URLs
Moderate severity GitHub Reviewed Published Jul 29, 2025 to the GitHub Advisory Database • Updated Jul 29, 2025
Package
gomod github.com/usememos/memos (Go)
Affected versions
< 0.24.4
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
- usememos/memos#4707 (comment)
- usememos/memos@46d5307
Published to the GitHub Advisory Database
Jul 29, 2025
Last updated
Jul 29, 2025