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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- grimhacker.com exploit third-party-advisory
- github.com
- github.com patch
- github.com
- github.com product