GHSA-mr5m-2385-2vcp

    Dashboard / Vulnerabilities / GHSA-mr5m-2385-2vcp

    GHSA-mr5m-2385-2vcp

    Published: 24 May 2022Last Modified: 8 Nov 2023

    Summary: xdlocalstorage does not verify request origin

    Details: An issue was discovered in xdLocalStorage through 2.0.5. The `postData()` function in `xdLocalStoragePostMessageApi.js` specifies the wildcard (`*`) as the targetOrigin when calling the `postMessage()` function on the parent object. Therefore any domain can load the application hosting the "magical iframe" and receive the messages that the "magical iframe" sends.

    Affected packages

    Package

    Name: xdlocalstorage

    Purl: pkg:npm/xdlocalstorage

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-mr5m-2385-2vcp | CVE-DB