auth0-js@8.0.2 vulnerabilities

Auth0 headless browser sdk

  • latest version

    9.28.0

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Insufficiently Protected Credentials

    auth0-js is an Auth0 headless browser sdk

    Affected versions of this package are vulnerable to Insufficiently Protected Credentials. In the case of an (authentication) error, the error object returned by the library contains the original request of the user, which may include the plaintext password the user entered. If the error object is exposed or logged without modification, the application risks password exposure.

    How to fix Insufficiently Protected Credentials?

    Upgrade auth0-js to version 9.13.2 or higher.

    >=8.0.0 <9.13.2
    • M
    Cross-site Request Forgery (CSRF)

    auth0-js is a Client Side Javascript toolkit for Auth0 API.

    Affected versions of this package are vulnerable to Cross-Site Request Forgery (CSRF) attacks if the Legacy Lock API flag is enabled.

    Once the user credentials are verified, an HTML form is rendered into the user’s browser. A JSON Web Token (JWT) is POSTed to the /login/callback endpoint, and it maintains state regarding the identity of the user. Due to the lack of session binding, this form post is susceptible to CSRF. An attacker with valid user credentials at an Auth0 tenant can use them to gain such a form, and then employ techniques such as social engineering or clickjacking to have a victim’s browser execute it.

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

    Upgrade auth0-js to version 9.0.0 or higher.

    <9.0.0
    • H
    Cross-site Request Forgery (CSRF)

    auth0-js is a client Side Javascript toolkit for Auth0 API.

    Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) due to mishandling the case where the authorization response lacks the state parameter.

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

    Upgrade auth0-js to version 9.3 or higher.

    <9.3.0
    • M
    Privilege Escalation

    auth0-js is a Client Side Javascript toolkit for Auth0 API.

    A cross-origin vulnerability has been discovered in the Auth0 auth0.js library affecting versions < 8.12. This vulnerability allows an attacker to acquire authenticated user's tokens and invoke services on a user's behalf if the target site or application uses a popup callback page with auth0.popup.callback().

    <8.12.0