GHSA-c6c4-jmqx-3r33
Open Redirect in xdLocalStorage
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | xdlocalstorage | <= 2.0.5 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain 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.
References
External links from the advisory. They lead to third-party sites.