Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. csrf-lite
  4. ›
  5. CVE-2016-10535

CVE-2016-10535: Cross-Site Request Forgery (CSRF)

February 18, 2019 (updated January 8, 2021)

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.

References

  • github.com/advisories/GHSA-hjhr-r3gq-qvp6
  • github.com/isaacs/csrf-lite/pull/1
  • nodesecurity.io/advisories/94
  • nvd.nist.gov/vuln/detail/CVE-2016-10535
  • www.npmjs.com/advisories/94

Code Behaviors & Features

Detect and mitigate CVE-2016-10535 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.1.2

Fixed versions

  • 0.1.2

Solution

Upgrade to version 0.1.2 or above.

Impact 5.9 MEDIUM

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-310
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

npm/csrf-lite/CVE-2016-10535.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:57 +0000.