Skip to content

usememos/memos vulnerable to stored cross-site scripting (XSS)

Moderate severity GitHub Reviewed Published Dec 23, 2022 to the GitHub Advisory Database • Updated Feb 2, 2023

Package

gomod github.com/usememos/memos (Go)

Affected versions

< 0.9.0

Patched versions

0.9.0

Description

usememos/memos is an open-source, self-hosted memo hub with knowledge management and socialization. Memos prior to 0.9.0 has a feature to upload file and display it, and by uploading a crafted SVG file, an attacker could perform a stored cross-site scripting attack with the image direct link. This was patched in version 0.9.0.

References

Published by the National Vulnerability Database Dec 23, 2022
Published to the GitHub Advisory Database Dec 23, 2022
Reviewed Dec 27, 2022
Last updated Feb 2, 2023

Severity

Moderate
5.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2022-4690

GHSA ID

GHSA-c8jh-vcjh-fx2w

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.