{"id":"CVE-2025-12120","summary":"CVE-2025-12120","details":"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.","modified":"2026-10-28T02:30:29.752529364Z","published":"2025-11-20T16:38:29.108Z","database_specific":{"cna_assigner":"certcc","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12120.json"},"references":[{"type":"WEB","url":"https://kb.cert.org/vuls/id/579478"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12120.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12120"},{"type":"FIX","url":"https://github.com/lite-xl/lite-xl/pull/2164"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lite-xl/lite-xl","events":[{"introduced":"0"},{"last_affected":"0af4dae0e2748d6afe7bded41c13d96f627cb520"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"2.1.8"}],"source":"AFFECTED_FIELD","strategy":"VersionTextExtraction"},{"cpe":"cpe:2.3:a:lite-xl:lite_xl:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"last_affected":"2.1.8"}],"source":"CPE_RANGE"}]}}],"versions":["v2.1.8","v2.1.7","v2.1.6","v2.1.5","v2.1.4","v2.1.4-rc1","v2.1.3","v2.1.3-rc2","v2.1.3-rc1","v2.1.2","v2.1.1","v2.1.0","v2.0.0","v2.0-beta1","v1.16.11","v1.16.10","v1.16.9-dev-1","v1.16.9","v1.16.8","v1.16.7","v1.16.6","v1.16.5","v1.16.4","v1.16.3-lite-xl","v1.16.2-lite-xl","v1.16.1-lite-xl","v1.16.0-lite-xl","v1.15-lite-xl","v1.14.1-lite-xl","v1.14-lite-xl","v1.13-lite-xl","v1.12-lite-xl","v1.11-lite-xl","v1.10-lite-xl","v1.08-subpixel","1.06-subpixel-rc1","v1.05","v1.04","v1.03","v1.02","v1.01","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-12120.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}