{"id":"CVE-2016-10535","details":"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.","aliases":["GHSA-hjhr-r3gq-qvp6"],"modified":"2026-03-14T09:18:19.146334Z","published":"2018-05-31T20:29:01.207Z","references":[{"type":"ADVISORY","url":"https://github.com/isaacs/csrf-lite/pull/1"},{"type":"ADVISORY","url":"https://nodesecurity.io/advisories/94"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/isaacs/csrf-lite","events":[{"introduced":"0"},{"last_affected":"a555c52c93bed025e47f02274453333134b411c9"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"0.1.1"}]}}],"versions":["v0.0.1","v0.0.2","v0.1.0","v0.1.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10535.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}