Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceComponentsnpm

crypto-js

Pure JavaScript library of hashes, HMAC, PBKDF2 and ciphers: MD5, SHA-1, SHA-2, a Keccak function it calls SHA3, RIPEMD-160, AES, TripleDES, RC4 and Rabbit.

In short

What to know.

Algorithms
SHA-1, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), Keccak-256, RIPEMD-160 and 3 moreNone would be broken by a large quantum computer.
Advisories
3 in the storeOSV last read 3 December 2026, 16:48 UTC.
What to do
Its source marks it deprecated or unmaintained: plan a replacement. Check your version against the advisories below. Each lists its affected and fixed versions.

3 in the store

Advisories

Advisories for crypto-js
AdvisoryIdAffected versionsFixed inSource's rating
crypto-js: Insufficient Entropy in Cryptographic Secret Generation via Vulnerable CryptoJS Dependency ChainGHSA-rg76-677x-56q9before 4.0.0Fixed in 4.0.0Rated Critical
crypto-js PBKDF2 1,000 times weaker than specified in 1993 and 1.3M times weaker than current standardGHSA-xwcq-pm8m-c4vfbefore 4.2.0Fixed in 4.2.0Rated Critical
crypto-js uses insecure random numbersGHSA-3w3w-pxmm-2w2jfrom 3.2.0 before 3.2.1; listed versions 3.2.0Fixed in 3.2.1Rated Moderate

3 listed

Findings

Findings for crypto-js
FindingIdSeverityUpdated
crypto-js PBKDF2 1,000 times weaker than specified in 1993 and 1.3M times weaker than current standardNMN-2026-0020Severity Critical3 December 2026
crypto-js: Insufficient Entropy in Cryptographic Secret Generation via Vulnerable CryptoJS Dependency ChainNMN-2026-0018Severity Critical3 December 2026
crypto-js uses insecure random numbersNMN-2026-0016Severity Moderate3 December 2026

Reviewed 3 December 2026

Sources

  1. npm registry metadata for crypto-js (deprecation message)registry.npmjs.orgRetrieved 3 December 2026
  2. crypto-js READMEgithub.comRetrieved 3 December 2026
  3. CryptoJS documentation (SHA-3 naming note)cryptojs.gitbook.ioRetrieved 3 December 2026

Full record

Package
crypto-js
Ecosystem
npm
Role
Implementation
Status
Marked deprecated or unmaintained by its source.
Notes
The registry marks 4.2.0 deprecated: "Active development of CryptoJS has been discontinued. This library is no longer maintained." The README recommends the native crypto module instead. Its SHA3 function is the original Keccak, not FIPS 202 SHA-3, as the documentation states.
Reviewed
Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
Advisories read
Last read from OSV 3 December 2026, 16:48 UTC
Findings
3 listed above.

Algorithms it provides

What a large quantum computer would change

  • Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.SHA-1, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), Keccak-256, RIPEMD-160, HMAC, PBKDF2, AES

Notes describe algorithm families, not any one project.