Stored XSS using two files in usememos/memos
Date: 2024-11
Affected: go/github.com/usememos/memos
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2023-0109
CWE: CWE-79
CVSS: 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):