Unknown · Xdlocalstorage · CVE-2020-11611
**Name of the Vulnerable Software and Affected Versions**
xdLocalStorage versions 2.0.5 and earlier
**Description**
An issue was discovered in the `buildMessage()` function in xdLocalStorage.js, which specifies the wildcard (*) as the `targetOrigin` when calling the `postMessage()` function on the iframe object. This allows any domain currently loaded within the iframe to receive the messages that the client sends.
**Recommendations**
For versions 2.0.5 and earlier, consider restricting access to the `buildMessage()` function in xdLocalStorage.js until a patch is available. As a temporary workaround, avoid using the wildcard (*) as the `targetOrigin` when calling the `postMessage()` function on the iframe object to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.