{"id":"GHSA-76qm-4f93-fg6f","summary":"Improper Input Validation in xdLocalStorage","details":"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.","aliases":["CVE-2015-9545"],"modified":"2023-11-08T03:58:04.994115Z","published":"2021-12-09T19:30:29Z","database_specific":{"cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-05-25T16:14:14Z","nvd_published_at":"2020-04-07T18:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-9545"},{"type":"WEB","url":"https://github.com/ofirdagan/cross-domain-local-storage/issues/17"},{"type":"WEB","url":"https://github.com/ofirdagan/cross-domain-local-storage/pull/19"},{"type":"WEB","url":"https://github.com/ofirdagan/cross-domain-local-storage"},{"type":"WEB","url":"https://grimhacker.com/exploiting-xdlocalstorage-localstorage-and-postmessage/#Missing-Origin-Client"}],"affected":[{"package":{"name":"xdlocalstorage","ecosystem":"npm","purl":"pkg:npm/xdlocalstorage"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.0.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-76qm-4f93-fg6f/GHSA-76qm-4f93-fg6f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"}]}