Description
csrf-lite is a cross-site request forgery protection library for framework-less node sites. csrf-lite uses `===`, a fail first string comparison, instead of a time constant string comparison This enables an attacker to guess the secret in no more than (16*18)288 guesses, instead of the 16^18 guesses required were the timing attack not present.
Metrics
CVSS 3.0 5.9/10
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| HackerOne | csrf-lite node module | <=0.1.1 |
References
- https://github.com/isaacs/csrf-lite/pull/1Third Party Advisory
- https://nodesecurity.io/advisories/94Third Party Advisory
- https://github.com/isaacs/csrf-lite/pull/1Third Party Advisory
- https://nodesecurity.io/advisories/94Third Party Advisory
Timeline
- Published
- May 31, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified