mime (npm)
Mime types for JavaScript
Advisories
2
Latest version
4.1.2
Released Oct 27, 2026
License
MIT
OpenSSF Scorecard
3.9 / 10
How to fix
Upgrading to 2.0.3 or later clears every advisory below that has a fix.
Upgrade commands
npm
npm install mime@4.1.2yarn
yarn add mime@4.1.2pnpm
pnpm add mime@4.1.2Known vulnerabilities
| Advisory | Severity | Affected | Fixed in |
|---|---|---|---|
| GHSA-wrvr-8mpx-r7pp mime Regular Expression Denial of Service when MIME lookup performed on untrusted user input |
High EPSS 2.12% |
>= 2.0.0, < 2.0.3 | 2.0.3 |
| GHSA-wrvr-8mpx-r7pp mime Regular Expression Denial of Service when MIME lookup performed on untrusted user input |
High EPSS 2.12% |
< 1.4.1 | 1.4.1 |
Source: git+https://github.com/broofa/mime.git
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor