CVE-2020-11611
MEDIUM 6.1CVSS 3.1Open Redirect in xdLocalStorage
An issue was discovered in xdLocalStorage through 2.0.5. The buildMessage() function in xdLocalStorage.js specifies the wildcard (*) as the targetOrigin when calling the postMessage() function on the iframe object. Therefore any domain that is currently loaded within the iframe can receive the messages that the client sends.
- Published
- 7 Apr 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-601
- Also known as
- GHSA-c6c4-jmqx-3r33
- Sources
- NVDJSONOSV GHSA-c6c4-jmqx-3r33JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
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, Third Party Advisory, WEB
- https://grimhacker.com/exploiting-xdlocalstorage-localstorage-and-postmessage/#Missing-TargetOrigin-Client · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-11611 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 7 Apr 2020)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 9 Dec 2021)