{"id":"CVE-2020-11611","aliases":["CVE-2020-11611","GHSA-c6c4-jmqx-3r33"],"related":[],"kind":"vulnerability","state":"published","title":"Open Redirect in xdLocalStorage","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se detectó un problema en xdLocalStorage versiones hasta 2.0.5. La función buildMessage() en el archivo xdLocalStorage.js especifica el comodín (*) como targetOrigin cuando se llama a la función postMessage () en el objeto iframe. Por lo tanto, cualquier dominio que esté cargado actualmente dentro del iframe puede recibir los mensajes que envía el cliente.","source":"nvd"}],"published":"2020-04-07T17:18:54.000Z","modified":"2026-06-17T02:50:28.603Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"}],"cwes":["CWE-601"],"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":["product","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://grimhacker.com/exploiting-xdlocalstorage-localstorage-and-postmessage/#Missing-TargetOrigin-Client","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-11611","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-11611","url":"https://www.cve.org/CVERecord?id=CVE-2020-11611","licence":"CVE Terms of Use","modified":"2024-08-04T11:35:13.213Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c6c4-jmqx-3r33","url":"https://github.com/advisories/GHSA-c6c4-jmqx-3r33","licence":"CC-BY-4.0","modified":"2023-11-08T04:02:06.768Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-11611","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-11611","licence":"Public domain","modified":"2026-06-17T02:50:28.603Z"}],"updatedAt":"2026-11-25T22:57:51.807Z","epss":{"score":0.00936,"percentile":0.61832,"date":"2026-12-01T12:00:22.000Z"}}