{"id":"CVE-2020-11610","aliases":["CVE-2020-11610","GHSA-mr5m-2385-2vcp"],"related":[],"kind":"vulnerability","state":"published","title":"xdlocalstorage does not verify request origin","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se detectó un problema en xdLocalStorage versiones hasta 2.0.5. La función postData() en el archivo xdLocalStoragePostMessageApi.js especifica el comodín (*) como targetOrigin cuando llama a la función postMessage() en el objeto primario. Por lo tanto, cualquier dominio puede cargar la aplicación que aloja el \"magical iframe\" y recibe los mensajes que envía el \"magical iframe\".","source":"nvd"}],"published":"2020-04-07T17:19:06.000Z","modified":"2026-06-17T02:50:28.473Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-668"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"2.0.5"}],"ecosystem":"npm","package":"xdlocalstorage","purl":"pkg:npm/xdlocalstorage","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"2.0.5"}],"vendor":"cross_domain_local_storage_project","product":"cross_domain_local_storage","cpe":"cpe:2.3:a:cross_domain_local_storage_project:cross_domain_local_storage:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ofirdagan/cross-domain-local-storage","tags":["package","product","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://grimhacker.com/exploiting-xdlocalstorage-localstorage-and-postmessage/#Missing-TargetOrigin-Magic-iframe","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-11610","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ofirdagan/cross-domain-local-storage/issues/17","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ofirdagan/cross-domain-local-storage/pull/19","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-11610","url":"https://www.cve.org/CVERecord?id=CVE-2020-11610","licence":"CVE Terms of Use","modified":"2024-08-04T11:35:13.412Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mr5m-2385-2vcp","url":"https://github.com/advisories/GHSA-mr5m-2385-2vcp","licence":"CC-BY-4.0","modified":"2023-11-08T04:02:06.702Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-11610","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-11610","licence":"Public domain","modified":"2026-06-17T02:50:28.473Z"}],"updatedAt":"2026-11-25T22:57:51.807Z","epss":{"score":0.0141,"percentile":0.72889,"date":"2026-11-30T12:00:22.000Z"}}