CVE-2022-4841 · @huntrdev
Cross-site Scripting (XSS) - Stored in usememos/memos
Cross-site Scripting (XSS) - Stored in GitHub repository usememos/memos prior to 0.9.1.
Published 2022-12-29, last changed 2026-06-17. Weakness: CWE-79.
How to fix
Upgrade to a fixed version: github.com/usememos/memos 0.9.1 (Go). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in usememos/memos by 64e5c343c5, 24b21aa9d7. The fix changed source code, but no function could be located in it. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2022-12-29 | Published |
| 2022-12-29 | Package advisory GHSA-rmhx-9h5h-3xh3 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.68% |
| 2026-12-04 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-rmhx-9h5h-3xh3 | github.com/usememos/memos (Go) | 0.9.1 |
Also known as: GHSA-rmhx-9h5h-3xh3
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-6634 | 2026-04-20 | 6.3 | usememos UpdateInstanceSetting App.tsx memos_access_token improper authorization |
| CVE-2025-65799 | 2025-12-08 | 4.3 | same package: github.com/usememos/memos (Go) |
| CVE-2025-65797 | 2025-12-08 | 6.5 | same package: github.com/usememos/memos (Go) |
| CVE-2025-65795 | 2025-12-08 | 7.5 | same package: github.com/usememos/memos (Go) |
| CVE-2025-65798 | 2025-12-08 | 5.4 | same package: github.com/usememos/memos (Go) |
| CVE-2025-65796 | 2025-12-08 | 4.3 | same package: github.com/usememos/memos (Go) |
| CVE-2024-21635 | 2025-11-14 | 7.5 | Memos Access Tokens Stay Valid after User Password Change |
| CVE-2025-56761 | 2025-09-03 | 5.4 | same package: github.com/usememos/memos (Go) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2022-4841, or call /api/v1/vulnerabilities/CVE-2022-4841. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.