Skip to content
OpenAdvisories

Weakness (CWE)

CWE-488: Exposure of Data Element to Wrong Session

Base Draft

The product does not sufficiently enforce boundaries between the states of different sessions, causing data to be provided to, or used by, the wrong session.

How to prevent it (3 mitigations)
  1. Architecture and Design

    Protect the application's sessions from information leakage. Make sure that a session's data is not used or visible by other sessions.

  2. Testing

    Use a static analysis tool to scan the code for information leakage vulnerabilities (e.g. Singleton Member Field).

  3. Architecture and Design

    In a multithreading environment, storing user data in Servlet member fields introduces a data access race condition. Do not use member fields to store information in the Servlet.

Source: MITRE CWE-488

1 result · Clear filters · Feed

  • Critical 9.1
    CVE-2025-47928 Public exploit

    Spotipy repo vulnerable to secrets exfiltration via `pull_request_target`

    Spotipy is a Python library for the Spotify Web API. As of commit 4f5759dbfb4506c7b6280572a4db1aabc1ac778d, using `pull_request_target` on `.github/workflows/integration_tests.yml` followed by the checking out the head.sha of a forked PR can be exploited by a…