CVE-2022-3138
NixOS vulnerability analysis and mitigation

Overview

Cross-site Scripting (XSS) vulnerability was identified in GitHub repository jgraph/drawio versions prior to 20.3.0. The vulnerability was discovered and disclosed in September 2022, affecting the drawio diagramming software. This security issue was assigned identifier CVE-2022-3138 (NVD, CVE).

Technical details

The vulnerability was classified as a Generic Cross-site Scripting (XSS) issue, with a CVSS v3.1 Base Score of 6.1 (MEDIUM) according to NVD's assessment. The CVSS vector string is CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, indicating that the vulnerability is network exploitable, requires low attack complexity, needs no privileges, but does require user interaction (NVD).

Impact

The vulnerability could potentially allow attackers to execute malicious scripts in the context of the affected application, leading to unauthorized access to sensitive information and potential manipulation of the application's behavior. The CVSS scoring indicates low impact on both confidentiality and integrity, with no impact on availability (NVD).

Mitigation and workarounds

The vulnerability was patched in version 20.3.0 of drawio. The fix included security improvements such as limiting plugins to built-in or same domain and adding ALLOW_CUSTOM_PLUGINS for third-party plugins. Users are advised to upgrade to version 20.3.0 or later to mitigate this vulnerability (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-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

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