Live threats

All CVEs / Csrf-lite Project

CVE-2016-10535Csrf-lite Project Csrf-lite

Medium 5.9 No auth needed

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
Weakness (CWE)
CWE-208, CWE-310
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Csrf-lite.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
csrf-lite_projectcsrf-lite≤ 0.1.1

Official sources

References

Links published by the sources. Open them with care.