CVE-2020-11610
HIGH 8.8CVSS 3.1xdlocalstorage 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.
- Published
- 7 Apr 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-668
- Also known as
- GHSA-mr5m-2385-2vcp
- Sources
- NVDJSONOSV GHSA-mr5m-2385-2vcpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cross_domain_local_storage_project | cross_domain_local_storagecpe:2.3:a:cross_domain_local_storage_project:cross_domain_local_storage:*:*:*:*:*:*:*:* |
<= 2.0.5 | |
| OSV | npm | xdlocalstorage | <= 2.0.5 |
References
- https://github.com/ofirdagan/cross-domain-local-storage · Product, PACKAGE
- https://grimhacker.com/exploiting-xdlocalstorage-localstorage-and-postmessage/#Missing-TargetOrigin-Magic-iframe · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-11610 · ADVISORY
- https://github.com/ofirdagan/cross-domain-local-storage/issues/17 · WEB
- https://github.com/ofirdagan/cross-domain-local-storage/pull/19 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 7 Apr 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 May 2022)