KeygraphLabs · CVE MCP

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.

CVSS
5.4
medium, from NVD
EPSS
0.66%
percentile 53.2%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-29Published
2022-12-29Package advisory GHSA-rmhx-9h5h-3xh3
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 0.68%
2026-12-04Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-rmhx-9h5h-3xh3github.com/usememos/memos (Go)0.9.1

Also known as: GHSA-rmhx-9h5h-3xh3

Related

CVEPublishedCVSSSummary
CVE-2026-66342026-04-206.3usememos UpdateInstanceSetting App.tsx memos_access_token improper authorization
CVE-2025-657992025-12-084.3same package: github.com/usememos/memos (Go)
CVE-2025-657972025-12-086.5same package: github.com/usememos/memos (Go)
CVE-2025-657952025-12-087.5same package: github.com/usememos/memos (Go)
CVE-2025-657982025-12-085.4same package: github.com/usememos/memos (Go)
CVE-2025-657962025-12-084.3same package: github.com/usememos/memos (Go)
CVE-2024-216352025-11-147.5Memos Access Tokens Stay Valid after User Password Change
CVE-2025-567612025-09-035.4same 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.

NVD · CVE.org