{"affected":[{"conditional":false,"product":"memos","source":"NVD","vendor":"usememos","versions":[{"status":"affected","version":"0.22.0","versionType":"custom"}]}],"cpeConfigurations":[{"negate":false,"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:usememos:memos:0.22.0:*:*:*:*:*:*:*","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"OR"}],"cveId":"CVE-2025-56761","cwes":["CWE-79"],"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.","epss":null,"exploits":[{"kind":"exploit","source":"cve@mitre.org","url":"https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/"}],"kev":null,"metrics":[{"score":5.4,"severity":"medium","source":"NVD: 134c704f-9b21-4f2e-91b3-4a467353bcc0","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}],"modifiedAt":1794075000200,"publishedAt":1756919734410,"references":[{"source":"cve@mitre.org","tags":["Product"],"url":"https://github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go#L147"},{"source":"cve@mitre.org","tags":["Product"],"url":"https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48"},{"source":"cve@mitre.org","tags":["Exploit","Patch","Third Party Advisory"],"url":"https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/"}],"remediation":[{"kind":"fix","source":"cve@mitre.org","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/"}],"revision":"579f00d9d1297cc4ac3d639a15cae929c5a2f8a5a37e29251d992088eadbf27e","sources":[{"modifiedAt":1794075000200,"name":"NVD","retrievedAt":1794075401250,"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-56761"}],"ssvc":{"assessedAt":1756926641735,"automatable":"no","exploitation":"poc","source":"NVD SSVC: 134c704f-9b21-4f2e-91b3-4a467353bcc0","technicalImpact":"partial"},"status":"published","title":"CVE-2025-56761","updatedAt":1794075401250}