NetSight
high8.8

CVE-2020-11610

xdlocalstorage does not verify request origin

Impact

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

EcosystemPackageAffectedFixed in
npmxdlocalstorage<= 2.0.5none recorded

Affected products

VendorProductAffected versions
Cross Domain Local Storage ProjectCross Domain Local Storage
through 2.0.5

Weakness classification

References