CVE-2016-10535 json
Timing Attack in csrf-lite
published 2018-05-31 8 y ago modified 2026-06-17 4 mo ago also GHSA-hjhr-r3gq-qvp6 , EUVD-2019-0303
- cvss
- 5.9
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Exploit prediction
1.28% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | csrf-lite | <0.1.2 |
0.1.2 |
Affected products
- HackerOne csrf-lite node module
Classification
References
-
github.com
/isaacs/csrf-lite/pull/1
web, third-party-advisory
-
nodesecurity.io
/advisories/94
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2016-10535
advisory
-
github.com
/advisories/GHSA-hjhr-r3gq-qvp6
advisory
-
npmjs.com
/advisories/94
web
Sources
- CVE List CVE-2016-10535
- GitHub Advisory GHSA-hjhr-r3gq-qvp6
- NVD CVE-2016-10535
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.