CVE-2025-12121CWE-78command-injection

CVE-2025-12121

High · published November 20, 2025

CVSS v3.1
7.3
EPSS
0%
Percentile
30.3
In the wild
Unconfirmed
What it is

⚡ An unsanitized shell command is the sneaky culprit here! Lite XL versions 2.1.8 and prior let attackers make arbitrary commands execute with just the right input! 🔥 Think of this vulnerability like a restaurant that lets a patron sneak a custom order into the kitchen without oversight — if the chef accepts it, they might whip up something unexpected (and potentially dangerous)! An attacker could potentially execute any command on the server with the same privileges as the Lite XL process, leading to unauthorized access, data breaches, or even service disruptions. This could be catastrophic, allowing the attacker to control the system as if they were the legitimate user!

Put simply

Think of this vulnerability like a restaurant that lets a patron sneak a custom order into the kitchen without oversight — if the chef accepts it, they might whip up something unexpected (and potentially dangerous)! This vulnerability in Lite XL’s system.exec function allows arbitrary command execution through unsanitized input, particularly in project directory launching, drag-and-drop file handling, and the 'open in system' command.

What to do

An attacker could potentially execute any command on the server with the same privileges as the Lite XL process, leading to unauthorized access, data breaches, or even service disruptions. This could be catastrophic, allowing the attacker to control the system as if they were the legitimate user! Upgrade Lite XL to version 2.1.9 or later to eliminate this vulnerability. Additionally, review how inputs are handled in your application to ensure all commands are properly sanitized. Regular code audits will help prevent similar issues in the future. You've got this! Following these steps will help secure your systems and keep things running smoothly. 🛡️

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00375 · 30.3th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2025-11-20T22:15Z
Affected products (1)
ProductVersionsFixed in
lite-xl/lite_xl≤ 2.1.8—
References (2)
EPSS history
Timeline
  • 20 NOV 16:39Z
    CVE-2025-12121
    cvelistv5