{"id":"CVE-2025-56761","aliases":["CVE-2025-56761","GHSA-cgrg-86m5-xm4w","GO-2025-3937"],"related":[],"kind":"vulnerability","state":"published","title":"Memos Vulnerable to Stored Cross-Site Scripting","summary":"Memos 0.22 is vulnerable to Stored Cross site scripting (XSS) vulnerabilities by the upload attachment and user avatar features. Memos does not verify the content type of the uploaded data and serve it back as is. An authenticated attacker can use this to elevate their privileges when the stored XSS is viewed by an admin.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Memos 0.22 is vulnerable to Stored Cross site scripting (XSS) vulnerabilities by the upload attachment and user avatar features. Memos does not verify the content type of the uploaded data and serve it back as is. An authenticated attacker can use this to elevate their privileges when the stored XSS is viewed by an admin.","source":"cvelist"},{"lang":"en","text":"Memos Vulnerable to Stored Cross-Site Scripting in github.com/usememos/memos","format":"markdown","source":"go"},{"lang":"es","text":"Memos 0.22 es vulnerable a vulnerabilidades de Cross-site scripting almacenado (XSS) por las funciones de carga de archivos adjuntos y avatares de usuario. Memos no verifica el tipo de contenido de los datos cargados y los devuelve tal cual. Un atacante autenticado puede usar esto para elevar sus privilegios cuando el XSS almacenado es visto por un administrador.","source":"nvd"}],"published":"2025-09-03T00:00:00.000Z","modified":"2026-11-07T18:10:00.200Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.22.0"}],"ecosystem":"Go","package":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","source":"go"},{"ranges":[{"status":"affected","version":"0.22.0"}],"vendor":"usememos","product":"memos","cpe":"cpe:2.3:a:usememos:memos:0.22.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48","tags":["product","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go#L147","tags":["product","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/","tags":["exploit","patch","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-56761","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/usememos/memos","tags":["package"],"sources":["ghsa"]},{"url":"https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-cgrg-86m5-xm4w","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-09-03T19:10:41.735Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-56761","url":"https://www.cve.org/CVERecord?id=CVE-2025-56761","licence":"CVE Terms of Use","modified":"2025-09-04T14:27:45.512Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cgrg-86m5-xm4w","url":"https://github.com/advisories/GHSA-cgrg-86m5-xm4w","licence":"CC-BY-4.0","modified":"2025-09-08T14:59:26.448Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3937","url":"https://pkg.go.dev/vuln/GO-2025-3937","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:27.569Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-56761","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-56761","licence":"Public domain","modified":"2026-11-07T18:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:04.075Z","epss":{"score":0.00286,"percentile":0.22754,"date":"2026-12-01T12:00:22.000Z"}}