Skip to content

Write-ups

Node.js third-party modules (csurf)

Every publicly disclosed report for Node.js third-party modules (csurf) and what kind of bugs they were.

disclosed reports
1
most reported class
CSRF
bug classes found
1

Disclosed reports

Newest first. Only what Node.js third-party modules (csurf) chose to make public.

CSRF

CSRF Vulnerability In The NodeJS Ecosystem

The csurf npm package for Node.js stored the CSRF secret in a clear-text cookie and did not validate the token cookie, allowing an attacker to forge a valid CSRF token. By using cookie tossing to set a malicious secret cookie, an attacker could bypass CSRF protection and perform state-changing requests on behalf of a victim.

Node.js third-party modules (csurf)