{"cve":"CVE-2025-56761","nvd":{"published":"2025-09-03T17:15:34.410","modified":"2026-06-17T09:42:45.473","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-79"],"references":["https://github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go#L147","https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48","https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/"],"products":["usememos:memos"],"source":"nvd","synced_at":"2026-10-19T22:07:46.309729541+00:00"},"epss":{"cve":"CVE-2025-56761","score":0.00259,"percentile":0.17658,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-cgrg-86m5-xm4w","url":"https://osv.dev/vulnerability/GHSA-cgrg-86m5-xm4w","summary":"Memos Vulnerable to Stored Cross-Site Scripting","modified":"2025-09-08T14:59:26.448996Z","packages":[{"ecosystem":"Go","name":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","ranges":["<=0.22.0"],"fixed":[]}]},{"id":"GO-2025-3937","url":"https://osv.dev/vulnerability/GO-2025-3937","summary":"Memos Vulnerable to Stored Cross-Site Scripting in github.com/usememos/memos","modified":"2026-03-03T04:57:27.569396Z","packages":[{"ecosystem":"Go","name":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}