CVE-2025-50738 Memos has Cross-Site Scripting (XSS) Vulnerability in Image URLs
Attackers can track users and disclose IP addresses by embedding malicious image URLs in Memos notes, requiring an upgrade to mitigate.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-50738?
CVE-2025-50738 is a critical vulnerability in Usememos Memos, published on 29 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-200
Which versions are affected by CVE-2025-50738?
3 open source packages ship an affected version, including github.com/usememos/memos. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/usememos/memos Go | All versions | 0.24.4 |
github.com/usememos/memos Go | All versions | 0.24.4 |
github.com/usememos/memos Go | All versions | 0.24.4 |
Products include Usememos Memos.
How do I fix CVE-2025-50738?
Upgrade github.com/usememos/memos to 0.24.4 or later.
Is CVE-2025-50738 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-50738 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Usememos Memos
Sources
Also known as GHSA-hfcf-79gh-f3jc, GO-2025-3831.