Intel

CVE-2023-30533

xlsx is vulnerable to Regular Expression Denial of Service (ReDoS)

Regular Expression Denial of Service (ReDoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

78

High Risk

This Affects:

xlsx

TL;DR

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in multiple functions, allowing an attacker to crash the system by submitting specially crafted input.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

xlsx is vulnerable to Regular Expression Denial of Service (ReDoS) in versions < 0.19.3.

How to fix this

Because of a problem with their NPM account, new versions are no longer updated. Update using the instructions found here: https://docs.sheetjs.com/docs/getting-started/installation/nodejs/. Or migrate to a community-maintained fork like @e965/xlsx.