Skip to content

CVE-2020-11610 xdlocalstorage does not verify request origin

HighCVSS 8.8 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
cross domain local storage project cross domain local storage <= 2.0.5 after 2.0.5 Fixed
npm xdlocalstorage(npm) <= 2.0.5 after 2.0.5 Fixed

Affected products

ProductAffected versionsFixed in
npm xdlocalstorage(npm) <= 2.0.5 No fix listed
cross domain local storage project cross domain local storage <= 2.0.5 No fix listed

References