{"id":"CVE-2022-48339","details":"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.","modified":"2026-04-16T04:39:44.249933647Z","published":"2023-02-20T23:15:12.350Z","related":["ALSA-2023:2626","ALSA-2023:7083","SUSE-SU-2023:0597-1","SUSE-SU-2023:0598-1","SUSE-SU-2023:0675-1","openSUSE-SU-2024:12721-1"],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/05/msg00008.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FLPQ4K6H2S5TY3L5UDN4K4B3L5RQJYQ6/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U6HDBUQNAH2WL4MHWCTUZLN7NGF7CHTK/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2023/dsa-5360"},{"type":"FIX","url":"https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=1b4dc4691c1f87fc970fbe568b43869a15ad0d4c"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48339.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"28.2"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}