CVE-2016-10535Csrf-lite Project Csrf-lite
Medium 5.9 No auth needed
Follow: this CVE · Csrf-lite Project · Csrf-lite Project Csrf-lite We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.0
- 5.9
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 70
- Auth required
- No
- Published
- May 31, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Csrf-lite.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | csrf-lite |
< 0.1.2 |
0.1.2 |
npm install csrf-lite@0.1.2 |
Per OSV / GitHub Advisories (GHSA-hjhr-r3gq-qvp6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| csrf-lite_project | csrf-lite | ≤ 0.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- nodesecurity.io Third Party Advisory