facebook-sdk@0.3.0 vulnerabilities

This client library is designed to support the Facebook Graph API and the official Facebook JavaScript SDK, which is the canonical way to implement Facebook authentication.

Direct Vulnerabilities

Known vulnerabilities in the facebook-sdk package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Request Forgery (CSRF)

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) such that the auth_url method does not support the state property.

How to fix Cross-site Request Forgery (CSRF)?

Upgrade facebook-sdk to version 0.3.2 or higher.

[,0.3.2)
  • M
Cross-site Request Forgery (CSRF)

facebook_sdk is a This client library is designed to support the Facebook Graph API and the official Facebook JavaScript SDK, which is the canonical way to implement Facebook authentication. facebook-sdk is vulnerable to cross-site request forgery (CSRF). It does not support the state property in auth urls for CSRF detection, allowing CSRF attacks based on state mutation.

[0.3.0,0.3.2)