CVE-2022-1575CWE-94

Arbitrary Code Execution through Sanitizer Bypass in jgraph/drawio

Critical 路 published May 5, 2022

CVSS v3.0
9.6
EPSS
2%
Percentile
83.9
In the wild
Unconfirmed
What it is

馃毃 A sneaky sanitizer bypass can lead to arbitrary code execution in the JGraph Draw.io desktop app! 馃敟 Think of it as a chef who never checks the ingredients in the kitchen. If someone sneaks in a dangerous spice without the chef noticing, the whole dish can turn toxic before anyone takes a bite! An attacker could exploit this vulnerability to run any code on the system, effectively taking control and accessing sensitive information. This could lead to data loss, unauthorized access, or worse, turning your desktop app into a launching pad for further attacks!

Put simply

Think of it as a chef who never checks the ingredients in the kitchen. If someone sneaks in a dangerous spice without the chef noticing, the whole dish can turn toxic before anyone takes a bite! This vulnerability allows for arbitrary code execution by bypassing input sanitization in both the desktop and web applications of the JGraph Draw.io project, specifically in versions prior to 18.0.0.

What to do

An attacker could exploit this vulnerability to run any code on the system, effectively taking control and accessing sensitive information. This could lead to data loss, unauthorized access, or worse, turning your desktop app into a launching pad for further attacks! Update to version 18.0.0 or later immediately to patch this vulnerability. Additionally, review your application settings to ensure that all inputs are properly sanitized to avoid similar issues in the future. Don't forget to conduct a thorough security audit of your environment! You've got this! Just follow these steps and your security hero status will shine bright! 馃Ω

The record
Technical detail
CVSS v3.0
9.6 路 CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.02397 路 83.9th percentile
Weakness
CWE-94 路 Improper Control of Generation of Code ('Code Injection')
Published
2022-05-05T11:45Z
EPSS history
Timeline
  • 05 MAY 11:45Z
    Arbitrary Code Execution through Sanitizer Bypass in jgraph/drawio
    cvelistv5