CVE-2022-25978Usememos Memos
Medium 6.1 No auth needed
Follow: this CVE · Usememos · Usememos Memos We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 46
- Auth required
- No
- Published
- Feb 15, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Memos.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/usememos/memos |
< 0.10.4-0.20230211093429-b11d2130a084 |
0.10.4-0.20230211093429-b11d2130a084 |
go get github.com/usememos/memos@v0.10.4-0.20230211093429-b11d2130a084 |
| Go | github.com/usememos/memos |
< 0.10.4-0.20230211093429-b11d2130a084 |
0.10.4-0.20230211093429-b11d2130a084 |
go get github.com/usememos/memos@v0.10.4-0.20230211093429-b11d2130a084 |
Per OSV / GitHub Advisories (GHSA-9w8x-5hv5-r6gw, GO-2023-1566). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| usememos | memos | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit
- security.snyk.io Exploit Issue Tracking Patch