CISA list

● npm package

file-type

File-type has three security advisories. The newest release any of them names as the fix is 21.3.2.

As of , file-type has three security advisories. The newest release any of them names as the fix is 21.3.2.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 13.0.0 before 21.3.221.3.23 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-32630GHSA-j47w-4g3g-c36vfile-type: ZIP Decompression Bomb DoS via [Content_Types].xml entryModerate severityFrom 20.0.0 before 21.3.221.3.2
CVE-2026-31808GHSA-5v7r-6r5c-r473file-type affected by infinite loop in ASF parser on malformed input with zero-size sub-headerModerate severityFrom 13.0.0 before 21.3.121.3.1
CVE-2022-36313GHSA-mhxj-85r3-2x55file-type vulnerable to Infinite Loop via malformed MKV fileHigh severityFrom 17.0.0 before 17.1.3; From 13.0.0 before 16.5.416.5.4, 17.1.3

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0