logo

CVE-2020-11610 xdlocalstorage

Package

Manager: npm
Name: xdlocalstorage
Vulnerable Version: >=0 <=2.0.5

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00179 pctl0.39738

Details

xdlocalstorage does not verify request origin 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.

Metadata

Created: 2022-05-24T17:13:39Z
Modified: 2023-07-17T18:29:36Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-mr5m-2385-2vcp/GHSA-mr5m-2385-2vcp.json
CWE IDs: ["CWE-668"]
Alternative ID: GHSA-mr5m-2385-2vcp
Finding: F017
Auto approve: 1