auth0-js@2.0.11 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
    • H
    Privilege Escalation

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

    Affected versions of this package are vulnerable to Privilege Escalation via the parseHash method. It did not properly validate the JWT audience, and therefore allowed tokens intended for one tenant to be used at another.

    How to fix Privilege Escalation?

    Upgrade auth0-js to version 8.0.0 or higher.

    <8.0.0
    • 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