Command Injection Vulnerability in GNU Emacs htmlfontify.el

Command Injection Vulnerability in GNU Emacs htmlfontify.el

CVE-2022-48339 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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.

Learn more about our External Network Penetration Testing.