Skip to main content
VulnerabilityPublished Updated

CVE-2024-53441: cookie-encrypter · Weak Cryptography

Affects cookie-encrypterSource CVE Database V5

0

Not known to be exploited · CVSS 9.1 Critical.

Data as of 26 Oct 2026, 09:15 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Dec 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
npmcookie-encrypterpkg:npm/cookie-encrypterOther threatsAffected
  • =1.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-53441, organizations should: 1) Monitor for and apply any official patches or updates from the cookie-encrypter maintainers as soon as they become available. 2) If patches are not yet available, consider temporarily disabling or replacing the cookie-encrypter library with a more secure alternative that uses authenticated encryption (e.g., AES-GCM or ChaCha20-Poly1305) to prevent bit flipping attacks. 3) Implement additional integrity verification mechanisms such as HMACs on cookie data to detect tampering. 4) Review and harden session management practices, including setting secure cookie flags (HttpOnly, Secure, SameSite) to reduce attack vectors. 5) Conduct code audits to identify any other cryptographic weaknesses or improper usage of encryption libraries. 6) Increase monitoring and alerting for unusual cookie modification patterns or authentication anomalies. 7) Educate development teams on secure cryptographic practices and the risks of malleable encryption schemes. These steps go beyond generic advice by focusing on cryptographic integrity and proactive library management.

Description

An issue in the index.js decryptCookie function of cookie-encrypter v1.0.1 allows attackers to execute a bit flipping attack.

References

Community reviews

Loading reviews…