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

CVE-2022-4866: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

December 31, 2022 (updated January 4, 2023)

Cross-site Scripting (XSS) - Stored in GitHub repository usememos/memos prior to 0.9.1.

References

  • github.com/advisories/GHSA-x9p9-v3x6-68mq
  • github.com/usememos/memos/commit/7670c9536000bb32c6345d4906a91268dcddd5fc
  • huntr.dev/bounties/39c04778-6228-4f07-bdd4-ab17f246dbff
  • nvd.nist.gov/vuln/detail/CVE-2022-4866

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.9.1

Fixed versions

  • v0.9.1

Solution

Upgrade to version 0.9.1 or above.

Impact 9 CRITICAL

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

Learn more about CVSS

Weakness

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

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:28 +0000.