# CVE-2022-4865: Cross-site Scripting (XSS) - Stored in usememos/memos

- Severity: High 8.3 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.06%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-31T00:00:00.000Z
- Modified: 2026-06-17T05:22:03.583Z
- Also known as: GHSA-8w5q-5fpq-v4pm
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntrdev

## Description

Cross-site Scripting (XSS) - Stored in GitHub repository usememos/memos prior to 0.9.1.

(As written by CVE List.)

## Affected

- usememos usememos/memos: from unspecified before 0.9.1
- github.com/usememos/memos (Go): before 0.9.1
- usememos memos: before 0.9.1

## Every score

- @huntrdev: CVSS:3.0 8.3 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://huntr.dev/bounties/cd8765a2-bf28-4019-8647-882ccf63b2be> (exploit, third-party-advisory, web)
- <https://github.com/usememos/memos/commit/7670c9536000bb32c6345d4906a91268dcddd5fc> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4865> (advisory)
- <https://github.com/usememos/memos> (package)

## Sources

- CVE List: [CVE-2022-4865](https://www.cve.org/CVERecord?id=CVE-2022-4865), CVE Terms of Use, modified 2025-04-09
- GitHub Advisory Database: [GHSA-8w5q-5fpq-v4pm](https://github.com/advisories/GHSA-8w5q-5fpq-v4pm), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-4865](https://nvd.nist.gov/vuln/detail/CVE-2022-4865), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4865 · Whole record: https://cve.day/CVE-2022-4865.json · Rebuilt by cve.day 2026-11-25T22:58:17.967Z
