Install
crypto-js
JavaScript library of crypto standards.
4.2.0Latest, 24 Oct 2023
118MDownloads, last month
0Advisories on the latest
3Advisories, all versions
MITLicence
16KStars
2.2/10OpenSSF Scorecard
Deprecated Active development of CryptoJS has been discontinued. This library is no longer maintained.
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Critical | crypto-js: Insufficient Entropy in Cryptographic Secret Generation via Vulnerable CryptoJS Dependency Chain CVE-2026-71851 | Fixed in 4.0.0 | 7 Aug 2026 |
| Critical | crypto-js PBKDF2 1,000 times weaker than specified in 1993 and 1.3M times weaker than current standard CVE-2023-46233 | Fixed in 4.2.0 | 25 Oct 2023 |
| Moderate | crypto-js uses insecure random numbers CVE-2020-36732 | Fixed in 3.2.1 | 12 Jun 2023 |
In the news
- Verify GitHub, Stripe, Shopify, and Svix Webhook Signatures in 40 Lines of Zero-Dependency Web Crypto JS dev.to, 28 Nov 2026
- Resecurity | Supply Chain Malware Alert: plain-crypto-js Compromises Axios Packages resecurity.com, 4 Apr 2026
- Better alternatives for Crypto JS library in React for payload encryption stackoverflow.com, 10 Dec 2024
- Unable to resolve module crypto from crypto-js (React-Native, AWS, Expo) stackoverflow.com, 15 Sep 2024
- Converting crypto to crypto-js script (AES-256-CBC) stackoverflow.com, 15 Aug 2024
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.