{"id":"CVE-2025-50738","aliases":["CVE-2025-50738","GHSA-hfcf-79gh-f3jc","GO-2025-3831"],"related":[],"kind":"vulnerability","state":"published","title":"Memos has Cross-Site Scripting (XSS) Vulnerability in Image URLs","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"Memos has Cross-Site Scripting (XSS) Vulnerability in Image URLs in github.com/usememos/memos","format":"markdown","source":"go"},{"lang":"es","text":"La aplicación Memos, hasta la versión v0.24.3, permite incrustar imágenes en formato Markdown con URL arbitrarias. Cuando un usuario visualiza un memo que contiene dicha imagen, su navegador obtiene automáticamente la URL de la imagen sin su consentimiento explícito ni interacción alguna más allá de la visualización del memo. Un atacante puede aprovechar esto para divulgar la dirección IP del usuario, la cadena de agente de usuario del navegador y, potencialmente, otra información específica de la solicitud al servidor controlado por el atacante, lo que conlleva la divulgación de información y el rastreo del usuario.","source":"nvd"}],"published":"2025-07-29T00:00:00.000Z","modified":"2026-06-17T09:35:20.887Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-79","CWE-200"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.24.4"}],"ecosystem":"Go","package":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.24.4"}],"ecosystem":"Go","package":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","source":"go"},{"ranges":[{"status":"affected","lastAffected":"0.24.3"}],"vendor":"usememos","product":"memos","cpe":"cpe:2.3:a:usememos:memos:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/usememos/memos","tags":["package","product"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/usememos/memos/issues/4707#issuecomment-2898504237","tags":["exploit","issue-tracking","report","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/fai1424/Vulnerability-Research/tree/main/CVE-2025-50738","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50738","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/usememos/memos/commit/46d5307d7f210067b46e07400a728fa9095803d9","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-hfcf-79gh-f3jc","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-07-29T14:37:21.322Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-50738","url":"https://www.cve.org/CVERecord?id=CVE-2025-50738","licence":"CVE Terms of Use","modified":"2025-08-22T15:36:04.032Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hfcf-79gh-f3jc","url":"https://github.com/advisories/GHSA-hfcf-79gh-f3jc","licence":"CC-BY-4.0","modified":"2025-08-22T21:08:25.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3831","url":"https://pkg.go.dev/vuln/GO-2025-3831","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:22.791Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-50738","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50738","licence":"Public domain","modified":"2026-06-17T09:35:20.887Z"}],"updatedAt":"2026-11-25T22:59:01.844Z","epss":{"score":0.02423,"percentile":0.84641,"date":"2026-12-01T12:00:22.000Z"}}