Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-10535
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:37 UTC · Revision 1
Source evidence
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.
osv:CVE-2016-10535
Complete source record
{
"id": "ccf0b4e7326e001810e5c7c0497fc8a6f4cb755138c67908b0521fff235160c2",
"url": "https://osv.dev/vulnerability/CVE-2016-10535",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-10535",
"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.",
"evidence": "osv:CVE-2016-10535",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2016-10535",
"aliases": [
"CVE-2016-10535",
"GHSA-hjhr-r3gq-qvp6"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/isaacs/csrf-lite",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "a555c52c93bed025e47f02274453333134b411c9"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:csrf-lite_project:csrf-lite:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.1.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.1.1",
"v0.1.0",
"v0.0.2",
"v0.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10535.json"
}
}
],
"modified": "2026-10-20T10:45:16.667641273Z",
"provider": "osv",
"references": [
"https://github.com/isaacs/csrf-lite/pull/1",
"https://nodesecurity.io/advisories/94"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2016-10535",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 379275,
"published_at": "2018-05-31T20:29:01.207+00:00"
}