isaacs/csrf-lite

isaacs/csrf-lite

Releases6
Frequency7 months 2 weeks
Last Release
Stars28
CSRF protection utility for framework-free node sites.

CVE History

CVEPublishedCVSS v3CVSS v2
4.3 MEDIUM

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.