# CVE-2022-4691: 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:L/A:H`
- 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): 0.76%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-23T00:00:00.000Z
- Modified: 2026-06-17T05:21:34.487Z
- Also known as: GHSA-97rc-mm5j-f6rj, GO-2022-1225
- 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.0.

(As written by CVE List.)

## Affected

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

## 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:L/A:H`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://huntr.dev/bounties/459b55c1-22f5-4556-9cda-9b86aa91582f> (exploit, patch, third-party-advisory, web)
- <https://github.com/usememos/memos/commit/c07b4a57caa89905e54b800f4d8fb720bbf5bf82> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4691> (advisory)
- <https://github.com/usememos/memos> (package)
- <https://github.com/advisories/GHSA-97rc-mm5j-f6rj> (advisory)

## Sources

- CVE List: [CVE-2022-4691](https://www.cve.org/CVERecord?id=CVE-2022-4691), CVE Terms of Use, modified 2025-04-10
- GitHub Advisory Database: [GHSA-97rc-mm5j-f6rj](https://github.com/advisories/GHSA-97rc-mm5j-f6rj), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-1225](https://pkg.go.dev/vuln/GO-2022-1225), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-4691](https://nvd.nist.gov/vuln/detail/CVE-2022-4691), Public domain, modified 2026-06-17

---

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