Description
The default cookie name (and documentation recommendation) was prefixed with Host__ instead of __Host-. The point of this prefix is for additional security, to ensure that, when no domain option is provided in the cookie options, we can guarantee the cookie came from the correct domain.
Recommendation
Update the csrf-csrf package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.2.1
- Patched version(s): 2.2.1
References
Could your website be exposed too?
SmartScanner can check your website for Incorrect default cookie name and recommendation and gives you actionable findings to investigate.
Start a free scanRelated Issues
- CKEditor4 Cross-site Scripting vulnerability caused by incorrect CDATA detection - CVE-2024-24815
- Insecure Default Configuration in tesseract.js - Vulnerability
- MCPHub has Path Traversal via Malicious MCPB Manifest Name - Vulnerability
- Incorrect Account Used for Signing - eth-ledger-bridge-keyring - Vulnerability


