@nestjs/common is a Nest - modern, fast, powerful node.js web framework (@common)
Affected versions of this package are vulnerable to Arbitrary Code Injection via the FileTypeValidator
function due to improper MIME Type Validation. An attacker can execute arbitrary code by sending a crafted payload in the Content-Type header of a request.
Note:
The FileTypeValidator
documentation specifically mentions that it is vulnerable and provides security enhancement recommendations.
There is no fixed version for @nestjs/common
.