| Package | Affected versions | Patched versions |
|---|---|---|
| cross domain local storage | ≤ 2.0.5 | |
| xdlocalstorage | ≤ 2.0.5 |
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free