@firebase/auth@1.6.2-20240311134132 vulnerabilities

The Firebase Authenticaton component of the Firebase JS SDK.

  • latest version

    1.8.1

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @firebase/auth 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
    Cross-site Scripting (XSS)

    @firebase/auth is a The Firebase Authenticaton component of the Firebase JS SDK.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the _authTokenSyncURL field in the FIREBASE_DEFAULTS settings due to improper user input sanitization. An attacker can manipulate session synchronization by setting this cookie field to point to a malicious server, thereby capturing user session data transmitted by the SDK.

    How to fix Cross-site Scripting (XSS)?

    Upgrade @firebase/auth to version 1.6.2 or higher.

    <1.6.2