Vulnerability library
Security checkJanuary 09, 2023

Auth0-js bypasses CSRF checks

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmauth0-js

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The Auth0.js library has a vulnerability affecting versions below 9.3 that allows an attacker to bypass the CSRF check from the state parameter if it’s missing from the authorization response, leaving the client vulnerable to CSRF attacks.

Recommendation

Update the auth0-js package to the latest compatible version. Followings are version details:

  • Affected version(s): < 9.3.0
  • Patched version(s): 9.3.0

References

Could your website be exposed too?

SmartScanner can check your website for Auth0-js bypasses CSRF checks and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 09, 2023