CVE-2022-48339

An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command injection vulnerability. In the hfy-istext-command function, the parameter file and parameter srcdir come from external input, and parameters are not escaped. If a file name or directory name contains shell metacharacters, code may be executed.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*

History

18 Mar 2025, 16:15

Type Values Removed Values Added
CWE CWE-1116

Information

Published : 2023-02-20 23:15

Updated : 2025-03-18 16:15


NVD link : CVE-2022-48339

Mitre link : CVE-2022-48339

CVE.ORG link : CVE-2022-48339


JSON object : View

Products Affected

gnu

  • emacs
CWE
CWE-116

Improper Encoding or Escaping of Output

CWE-1116

Inaccurate Comments