{"id":"CVE-2020-11611","details":"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.","aliases":["GHSA-c6c4-jmqx-3r33"],"modified":"2026-07-08T20:42:42.672947Z","published":"2020-04-07T18:15:13.633Z","references":[{"type":"PACKAGE","url":"https://github.com/ofirdagan/cross-domain-local-storage"},{"type":"EVIDENCE","url":"https://grimhacker.com/exploiting-xdlocalstorage-localstorage-and-postmessage/#Missing-TargetOrigin-Client"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ofirdagan/cross-domain-local-storage","events":[{"introduced":"0"},{"last_affected":"9c01ec482e063f6dabbca52d4dcf77adf85c2eee"}],"database_specific":{"cpe":"cpe:2.3:a:cross_domain_local_storage_project:cross_domain_local_storage:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"2.0.5"}],"source":"CPE_RANGE"}}],"versions":["2.0.5","2.0.4","2.0.3","2.0.2","2.0.1","2.0.0","1.0.12","1.0.11","1.0.10","1.0.9","1.0.8","1.0.7","1.0.6","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-11611.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}