# CVE-2025-56761: Memos Vulnerable to Stored Cross-Site Scripting

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- 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): 0.29%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-03T00:00:00.000Z
- Modified: 2026-11-07T18:10:00.200Z
- Also known as: GHSA-cgrg-86m5-xm4w, GO-2025-3937
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/usememos/memos (Go): up to 0.22.0; all versions
- usememos memos: 0.22.0

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/> (exploit, patch, third-party-advisory)
- <https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48> (product, web)
- <https://github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go#L147> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-56761> (advisory)
- <https://github.com/usememos/memos> (package)
- <https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples> (web)
- <https://github.com/advisories/GHSA-cgrg-86m5-xm4w> (advisory)

## Sources

- CVE List: [CVE-2025-56761](https://www.cve.org/CVERecord?id=CVE-2025-56761), CVE Terms of Use, modified 2025-09-04
- GitHub Advisory Database: [GHSA-cgrg-86m5-xm4w](https://github.com/advisories/GHSA-cgrg-86m5-xm4w), CC-BY-4.0, modified 2025-09-08
- Go Vulnerability Database: [GO-2025-3937](https://pkg.go.dev/vuln/GO-2025-3937), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-56761](https://nvd.nist.gov/vuln/detail/CVE-2025-56761), Public domain, modified 2026-11-07

---

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