CVE-2015-9545
HIGH 7.1CVSS 3.1Improper Input Validation in xdLocalStorage
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.
- Published
- 7 Apr 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-76qm-4f93-fg6f
- Sources
- NVDJSONOSV GHSA-76qm-4f93-fg6fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/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://github.com/ofirdagan/cross-domain-local-storage/issues/17 · Patch, Third Party Advisory, WEB
- https://github.com/ofirdagan/cross-domain-local-storage/pull/19 · Patch, Third Party Advisory, WEB
- https://grimhacker.com/exploiting-xdlocalstorage-localstorage-and-postmessage/#Missing-Origin-Client · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2015-9545 · 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)