Vulnerability Description
Lite XL versions 2.1.8 and prior automatically execute the .lite_project.lua file when opening a project directory, without prompting the user for confirmation. The .lite_project.lua file is intended for project-specific configuration but can contain executable Lua logic. This behavior could allow execution of untrusted Lua code if a user opens a malicious project, potentially leading to arbitrary code execution with the privileges of the Lite XL process.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Lite-Xl | Lite Xl | <= 2.1.8 |
Related Weaknesses (CWE)
References
- https://github.com/lite-xl/lite-xl/pull/2164Issue TrackingPatch
- https://kb.cert.org/vuls/id/579478ExploitPatchThird Party Advisory
FAQ
What is CVE-2025-12120?
CVE-2025-12120 is a vulnerability with a CVSS score of 7.3 (HIGH). Lite XL versions 2.1.8 and prior automatically execute the .lite_project.lua file when opening a project directory, without prompting the user for confirmation. The .lite_project.lua file is intended ...
How severe is CVE-2025-12120?
CVE-2025-12120 has been rated HIGH with a CVSS base score of 7.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-12120?
Check the references section above for vendor advisories and patch information. Affected products include: Lite-Xl Lite Xl.