Prototype Pollution in sheetJS
Published 24 Apr 2023 · Updated 19 Sept 2025
Affected package
- Affected
- All versions
- Fixed in
- No fix released
Details
All versions of SheetJS CE through 0.19.2 are vulnerable to "Prototype Pollution" when reading specially crafted files. Workflows that do not read arbitrary files (for example, exporting data to spreadsheet files) are unaffected.
A non-vulnerable version cannot be found via npm, as the repository hosted on GitHub and the npm package xlsx are no longer maintained. Version 0.19.3 can be downloaded via https://cdn.sheetjs.com/.
Is GHSA-4r6h-8v6p-xvw6 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.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2023-30533
- Linkcdn.sheetjs.com
- Linkcdn.sheetjs.com/advisories/CVE-2023-30533
- Packagegit.sheetjs.com/sheetjs/sheetjs
- Linkgit.sheetjs.com/sheetjs/sheetjs/issues/2667
- Linkgit.sheetjs.com/sheetjs/sheetjs/issues/2986
- Linkgit.sheetjs.com/sheetjs/sheetjs/src/branch/master/CHANGELOG.md
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.