# CVE-2025-50738: Memos has Cross-Site Scripting (XSS) Vulnerability in Image URLs

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.42%, higher than 84% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-29T00:00:00.000Z
- Modified: 2026-06-17T09:35:20.887Z
- Also known as: GHSA-hfcf-79gh-f3jc, GO-2025-3831
- Weaknesses: CWE-79, CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/usememos/memos (Go): before 0.24.4
- usememos memos: up to 0.24.3

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/usememos/memos/issues/4707#issuecomment-2898504237> (exploit, issue-tracking, report, web)
- <https://github.com/usememos/memos> (package, product)
- <https://github.com/fai1424/Vulnerability-Research/tree/main/CVE-2025-50738> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-50738> (advisory)
- <https://github.com/usememos/memos/commit/46d5307d7f210067b46e07400a728fa9095803d9> (fix, web)
- <https://github.com/advisories/GHSA-hfcf-79gh-f3jc> (advisory)

## Sources

- CVE List: [CVE-2025-50738](https://www.cve.org/CVERecord?id=CVE-2025-50738), CVE Terms of Use, modified 2025-08-22
- GitHub Advisory Database: [GHSA-hfcf-79gh-f3jc](https://github.com/advisories/GHSA-hfcf-79gh-f3jc), CC-BY-4.0, modified 2025-08-22
- Go Vulnerability Database: [GO-2025-3831](https://pkg.go.dev/vuln/GO-2025-3831), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-50738](https://nvd.nist.gov/vuln/detail/CVE-2025-50738), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-50738 · Whole record: https://cve.day/CVE-2025-50738.json · Rebuilt by cve.day 2026-11-25T22:59:01.844Z
