Description
Lite XL versions 2.1.8 and prior contain a vulnerability in the system.exec function, which allowed arbitrary command execution through unsanitized shell command construction. This function was used in project directory launching (core.lua), drag-and-drop file handling (rootview.lua), and the “open in system” command in the treeview plugin (treeview.lua). If an attacker could influence input to system.exec, they might execute arbitrary commands with the privileges of the Lite XL process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Lite XL | Lite XL | 2.1.8 and earlier | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | lite-xl | 2.1.8-r1 | — |
| Alpine v3.23 | lite-xl | 2.1.8-r1 | — |
| Alpine v3.22 | lite-xl | 2.1.8-r0 | — |