Skip to content

Cross Site Scripting in usememos/memos

Moderate severity GitHub Reviewed Published Feb 15, 2023 to the GitHub Advisory Database • Updated Dec 14, 2023

Package

gomod github.com/usememos/memos (Go)

Affected versions

< 0.10.4-0.20230211093429-b11d2130a084

Patched versions

0.10.4-0.20230211093429-b11d2130a084

Description

All versions of the package github.com/usememos/memos/server prior to 0.11.0 are vulnerable to Cross-site Scripting (XSS) due to insufficient checks on external resources, which allows malicious actors to introduce links starting with a javascript: scheme.

References

Published by the National Vulnerability Database Feb 15, 2023
Published to the GitHub Advisory Database Feb 15, 2023
Reviewed Feb 15, 2023
Last updated Dec 14, 2023

Severity

Moderate
6.1
/ 10

CVSS base metrics

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

Weaknesses

CVE ID

CVE-2022-25978

GHSA ID

GHSA-9w8x-5hv5-r6gw

Source code

github.com/usememos/memos
Checking history
See something to contribute? Suggest improvements for this vulnerability.