← Database

CVE-2022-48339

HIGH CVSS: 7.8 Published: 2023-02-20 Modified: 2026-06-17

Description

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.

Affected Platforms

Gnu Emacs

Weakness Type

CWE-116, CWE-1116

References