CVE-2025-56761 json
Memos Vulnerable to Stored Cross-Site Scripting
published last yr. modified 4mo ago also GHSA-cgrg-86m5-xm4w , GO-2025-3937 , EUVD-2025-26608
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 19%
- public exploits
- 0
- none known
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.
Patch / fix
- govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20250918T182144-150000.1.107.1
suse advisories SUSE-SU-2025:03289-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250908T141310-1.1
opensuse advisories openSUSE-SU-2026:21483-1openSUSE-SU-2025:15538-1
Is CVE-2025-56761 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 19% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- sonarsource.com https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/usememos/memos | <=0.22.0 all versions |
no fix listed |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
sonarsource.com
/blog/securing-go-applications-with-sonarqube-real-world-examples/
exploit, patch, third-party-advisory
-
github.com
/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48
web, product
-
github.com
/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go#L147
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2025-56761
advisory
-
github.com
/usememos/memos
package
-
sonarsource.com
/blog/securing-go-applications-with-sonarqube-real-world-examples
web
-
github.com
/advisories/GHSA-cgrg-86m5-xm4w
advisory
Sources
- CVE List CVE-2025-56761
- GitHub Advisory GHSA-cgrg-86m5-xm4w
- NVD CVE-2025-56761
- OSV GO-2025-3937
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.