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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48339.json",
"cna_assigner": "mitre"
}{
"source": "REFERENCES"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "28.2"
},
{
"last_affected": "28.2"
}
],
"source": [
"DESCRIPTION",
"CPE_RANGE"
],
"cpe": "cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*"
}