Improper Encoding or Escaping of Output
CVE-2022-48339
Summary
An issue was discovered in GNU Emacs package versions 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 meta characters, code may be executed.
- LOW
- LOCAL
- HIGH
- UNCHANGED
- REQUIRED
- NONE
- HIGH
- HIGH
CWE-116 - Improper Encoding or Escaping of Output
The software prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
Advisory Timeline
- Published