Vulnerability · Published Feb 15, 2023 · Assigned by snyk

CVE-2022-25978

Medium 5.4

In plain English

A medium-severity cross-site scripting in github.com/usememos/memos/server. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.5%top 54.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

All versions of the package github.com/usememos/memos/server 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/usememos/memos0.10.4-0.20230211093429-b11d2130a084GO-2023-1566
Gogithub.com/usememos/memos0.10.4-0.20230211093429-b11d2130a084GHSA-9w8x-5hv5-r6gw

Affected products (as reported)

VendorProductVersions
n/a github.com/usememos/memos/server 0 – before *

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P

References