CVE-2021-32014: Denial of Service in SheetJS Pro

xlsx Updated 02 Oct 2025

Summary

22/07/2021
Yes i
Moderate
5.5

CVE-2021-32014: Denial of Service in SheetJS Pro. Affects xlsx versions < 0.17.0. Fixed in 0.17.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

SheetJS Pro is an npm package and Maven dependency that provides functionality for reading and manipulating .xlsx documents. It is widely used in various applications for spreadsheet processing. However, versions up to 0.16.9 of SheetJS Pro are vulnerable to a Denial of Service (DoS) attack when processing a specially crafted .xlsx document. This vulnerability occurs due to mishandling of the document by the xlsx.js module, leading to excessive CPU consumption.

Vulnerability Detail

The vulnerability (CVE-2021-32014) allows attackers to exploit the mishandling of .xlsx documents in SheetJS Pro, resulting in a DoS condition. By sending a maliciously crafted .xlsx file, an attacker can cause the application to consume excessive CPU resources, leading to performance degradation or even system unresponsiveness. This vulnerability has a CVSS score of 5.5, indicating a moderate severity level.

How To Fix

Latest published version: 0.18.5 as of 22 Oct 2026

npm install xlsx@0.18.5

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.17.0

This is the first release that contains the fix.

npm install xlsx@0.17.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by updating SheetJS Pro to a non-vulnerable version.

Conclusion

In conclusion, SheetJS Pro versions up to 0.16.9 are vulnerable to a Denial of Service (DoS) attack due to mishandling of .xlsx documents. It is crucial to update to version 0.17.0 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for xlsx →

Share this vulnerability

FAQ

This vulnerability can lead to a Denial of Service (DoS) condition, causing performance degradation or system unresponsiveness.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will alert you if the vulnerability is present.

Yes, the fix for this vulnerability is available in SheetJS Pro version 0.17.0 or later. It is recommended to update your dependencies to the latest version.

No, there are no known workarounds for this vulnerability. Updating to a non-vulnerable version is the only solution.

This vulnerability has a CVSS score of 5.5, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for xlsx.

How To Fix

Latest published version: 0.18.5 as of 22 Oct 2026

npm install xlsx@0.18.5

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.17.0

This is the first release that contains the fix.

npm install xlsx@0.17.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback