# CVE-2022-4851: Improper Handling of Values in usememos/memos

- Severity: Critical 9.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.82%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-29T00:00:00.000Z
- Modified: 2026-06-17T05:22:01.693Z
- Also known as: GHSA-42q2-m54f-jh95, GO-2023-1285
- Weaknesses: CWE-229
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntrdev

## Description

Improper Handling of Values 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 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://huntr.dev/bounties/e3cebc1a-1326-4a08-abad-0414a717fa0f> (exploit, patch, third-party-advisory, web)
- <https://github.com/usememos/memos/commit/3556ae4e651d9443dc3bb8a170dd3cc726517a53> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4851> (advisory)
- <https://github.com/usememos/memos> (package)
- <https://github.com/advisories/GHSA-42q2-m54f-jh95> (advisory)

## Sources

- CVE List: [CVE-2022-4851](https://www.cve.org/CVERecord?id=CVE-2022-4851), CVE Terms of Use, modified 2025-04-10
- GitHub Advisory Database: [GHSA-42q2-m54f-jh95](https://github.com/advisories/GHSA-42q2-m54f-jh95), CC-BY-4.0, modified 2024-08-20
- Go Vulnerability Database: [GO-2023-1285](https://pkg.go.dev/vuln/GO-2023-1285), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-4851](https://nvd.nist.gov/vuln/detail/CVE-2022-4851), Public domain, modified 2026-06-17

---

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