Security for Excel Exports

1 Answer 11 Views
Spreadsheet
Donald
Top achievements
Rank 1
Donald asked on 24 Apr 2024, 06:48 PM

Hello,

It is not clear from your documentation whether you are still relying on jszip.js for Excel exports.  We have found that this library has critical security vulnerabilities that have not been addressed by the FOSS developer who created it.

Please advise as to what you recommend.

 

Thanks.

1 Answer, 1 is accepted

Sort by
0
Mihaela
Telerik team
answered on 29 Apr 2024, 03:57 PM

Hello Donald,

The JSZip library is required for the Excel exports, as stated in the Export Support section in the documentation.

Would you please let us know if the security vulnerabilities you mentioned are found in the latest version? Generally, the Kendo UI for jQuery/MVC/Core(Exporting) is compatible with JSZip 3.x starting v2023.3.1114 (R3 2023 SP1). You can upgrade to the latest JSZip version (3.10.1).


Regards,
Mihaela
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages. If you're new to the Telerik family, be sure to check out our getting started resources, as well as the only REPL playground for creating, saving, running, and sharing server-side code.
Donald
Top achievements
Rank 1
commented on 29 Apr 2024, 04:03 PM

This is the version of Jszip that is insecure.  The random-number generator used by Jszip is vulnerable to cyberattacks and the creator of the library has not maintained it.
Mihaela
Telerik team
commented on 02 May 2024, 01:40 PM

Hello Donald,

I have found the following two issues in the JSZip repo:

According to the source code, Math.random() is used to create a prefix for a variable name rather than for data encryption:

https://github.com/Stuk/jszip/blob/main/dist/jszip.js#L11491-L11509

Also, it does not exists as a CVE report. We can state that the report is false positive since Math.random() does not cause real threats in the code.

If any additional questions arise, please let us know.

Best,

Mihaela

Tags
Spreadsheet
Asked by
Donald
Top achievements
Rank 1
Answers by
Mihaela
Telerik team
Share this question
or