CVE-2022-4865
NixOS vulnerability analysis and mitigation

Overview

A stored Cross-site Scripting (XSS) vulnerability was identified in GitHub repository usememos/memos versions prior to 0.9.1. The vulnerability was assigned CVE-2022-4865 and was disclosed on December 31, 2022 (CVE Details).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 9.0 (Critical), with the following vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H. The attack vector is network-based, requires low attack complexity, needs low privileges, requires user interaction, has changed scope, and can impact confidentiality, integrity, and availability at high levels (AttackerKB).

Impact

If successfully exploited, this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of other users' browsers, potentially leading to theft of sensitive information, session hijacking, or other malicious actions (AttackerKB).

Mitigation and workarounds

Users should upgrade to version 0.9.1 or later of the usememos/memos repository which contains the fix for this vulnerability. The fix involves implementing proper sanitization of user input by adding PlainText parser to the markdown renderer (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management