MediumGHSA-3x9f-74h4-2fqrCVE-2021-32012

Denial of Service in SheetJS Pro

Published 22 Jul 2021 · Updated 10 Sept 2026

Is your project on an affected xlsx?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

xlsxnpm
Affected
<0.17.0
Fixed in
0.17.0
Update to the fixed version for your release line, for example:npm install xlsx@0.17.0
Affected
<0.17.0
Fixed in
0.17.0
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.webjars.npm:xlsx -DdepVersion=0.17.0 -DforceVersion=true

Details

SheetJS Pro through 0.16.9 allows attackers to cause a denial of service (memory consumption) via a crafted .xlsx document that is mishandled when read by xlsx.js (issue 1 of 2).

Is GHSA-3x9f-74h4-2fqr in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected xlsx, and gives you the command that fixes it.

More advisories for xlsx

  • HighCVE-2024-22363SheetJS Regular Expression Denial of Service (ReDoS) · 5 Apr 2024
  • HighCVE-2023-30533Prototype Pollution in sheetJS · 24 Apr 2023
  • MediumCVE-2021-32013Denial of Service in SheetsJS Pro · 22 Jul 2021
  • MediumCVE-2021-32014Denial of Service in SheetJS Pro · 22 Jul 2021
xlsx security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.