Description
In Python (aka CPython) through 3.10.4, the mailcap module does not add escape characters into commands discovered in the system mailcap file. This may allow attackers to inject shell commands into applications that call mailcap.findmatch with untrusted input (if they lack validation of user-provided filenames or arguments).
Remediation
References
Related Vulnerabilities
WordPress Plugin Job Board by BestWebSoft Cross-Site Scripting (1.1.3)
WordPress 5.0.x Multiple Vulnerabilities (5.0 - 5.0.16)
Jenkins Incorrect Authorization Vulnerability (CVE-2017-2599)
WordPress Plugin Simple:Press-WordPress Forum Arbitrary File Upload (6.6.0)
TYPO3 Allocation of Resources Without Limits or Throttling Vulnerability (CVE-2022-36104)