Description
An issue was discovered in xdLocalStorage through 2.0.5. The receiveMessage() function in xdLocalStorage.js does not implement any validation of the origin of web messages. Remote attackers who can entice a user to load a malicious site can exploit this issue to impact the confidentiality and integrity of data in the local storage of the vulnerable site via malicious web messages.
Metrics
CVSS 3.1 7.1/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/ofirdagan/cross-domain-local-storageProduct, Third Party Advisory
- https://github.com/ofirdagan/cross-domain-local-storage/issues/17Patch, Third Party Advisory
- https://github.com/ofirdagan/cross-domain-local-storage/pull/19Patch, Third Party Advisory
- https://grimhacker.com/exploiting-xdlocalstorage-localstorage-and-postmessage/#Missing-Origin-ClientExploit, Third Party Advisory
- https://github.com/ofirdagan/cross-domain-local-storageProduct, Third Party Advisory
- https://github.com/ofirdagan/cross-domain-local-storage/issues/17Patch, Third Party Advisory
- https://github.com/ofirdagan/cross-domain-local-storage/pull/19Patch, Third Party Advisory
- https://grimhacker.com/exploiting-xdlocalstorage-localstorage-and-postmessage/#Missing-Origin-ClientExploit, Third Party Advisory
Timeline
- Published
- Apr 7, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified