CVEvulnerability

CVE-2022-48339

7.8 HIGH Published 2023-02-20 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2023-02-20
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-1116, CWE-116

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 configurations

• gnu emacs (<= 28.2)

Related

Weakness · CWE (2)

  • CWE-1116 Inaccurate Source Code Comments weakness
  • CWE-116 Improper Encoding or Escaping of Output weakness

References