CVE-2023-30533


Summary


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.

Categorization


CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N (Score 5.3 - Medium)

CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') [1]

Affected Products


All releases of SheetJS Community Edition up to version 0.19.2 are affected. This includes:


Remediation


Users should upgrade to version 0.19.3 or later. Official releases are available on the SheetJS CDN [2]. SheetJS CE documentation includes installation instructions for common deployments [7].

Acknowledgements


Special thanks to Vsevolod Kokorin of SolidLab for reporting the issue to us.

Links


  1. https://cwe.mitre.org/data/definitions/1321.html
  2. https://cdn.sheetjs.com
  3. https://www.npmjs.com/package/xlsx
  4. https://cdnjs.com/libraries/xlsx/
  5. https://www.jsdelivr.com/package/npm/xlsx/
  6. https://deno.land/x/sheetjs/
  7. https://docs.sheetjs.com/docs/getting-started/