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)