CVE-2022-25978
MEDIUM 6.1CVSS 3.1Cross Site Scripting in usememos/memos
All versions of the package github.com/usememos/memos/server are vulnerable to Cross-site Scripting (XSS) due to insufficient checks on external resources, which allows malicious actors to introduce links starting with a javascript: scheme.
- Published
- 15 Feb 2023
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-9w8x-5hv5-r6gwGO-2023-1566
- Sources
- NVDJSONOSV GHSA-9w8x-5hv5-r6gwJSONOSV GO-2023-1566JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | usememos | memoscpe:2.3:a:usememos:memos:*:*:*:*:*:*:*:* |
all versions | |
| OSV | Go | github.com/usememos/memos | < 0.10.4-0.20230211093429-b11d2130a084 | 0.10.4-0.20230211093429-b11d2130a084 |
References
- https://github.com/usememos/memos/commit/b11d2130a084385eb65c3761a3c841ebe9f81ae8 · Patch, WEB, FIX
- https://github.com/usememos/memos/issues/1026 · Exploit, WEB, REPORT
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUSEMEMOSMEMOSSERVER-3319070 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25978 · ADVISORY
- https://pkg.go.dev/vuln/GO-2023-1566 · WEB
- github.com/usememos/memos · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 15 Feb 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Feb 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Feb 2023)