Skip to content
Fencer Vulns
critical 9.8

CVE-2023-40498 in the critical feed json

LG Simple Editor cp Command Directory Traversal Remote Code Execution Vulnerability

published 2024-05-03 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-45069

cvss
9.8
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
85.1%
EPSS 85.1% chance of exploitation in 30 days, percentile 99.7%
public exploits
1
Metasploit

Summary

LG Simple Editor cp Command Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of LG Simple Editor. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the cp command implemented in the makeDetailContent method. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of SYSTEM. . Was ZDI-CAN-19925.

Patch / fix

  • lg simple_editor 3.21.0

Timeline

  1. First public exploit (Metasploit exploit/windows/http/lg_simple_editor_rce)
  2. Published

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
2 y ago

Exploit prediction

85.09% chance of exploitation in the next 30 days, higher than 99.7% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

CVSS scores

assigned by version score vector
CNA 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

  • LG Simple Editor
  • lg simple_editor

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.