Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/usememos/memos
  4. ›
  5. CVE-2022-25978

CVE-2022-25978: Cross Site Scripting in usememos/memos

February 15, 2023 (updated March 19, 2025)

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

  • github.com/advisories/GHSA-9w8x-5hv5-r6gw
  • github.com/usememos/memos/commit/b11d2130a084385eb65c3761a3c841ebe9f81ae8
  • github.com/usememos/memos/issues/1026
  • nvd.nist.gov/vuln/detail/CVE-2022-25978
  • pkg.go.dev/vuln/GO-2023-1566
  • security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUSEMEMOSMEMOSSERVER-3319070

Code Behaviors & Features

Detect and mitigate CVE-2022-25978 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.10.4-0.20230211093429-b11d2130a084

Fixed versions

  • 0.10.4-0.20230211093429-b11d2130a084

Solution

Upgrade to version 0.10.4-0.20230211093429-b11d2130a084 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/usememos/memos/CVE-2022-25978.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:11 +0000.