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.
References
Configurations
History
No history.
Information
Published : 2023-02-20 23:15
Updated : 2023-11-07 03:56
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