ADVISORIES

GitHub Advisory Database

GHSA-c6c4-jmqx-3r33

Open Redirect in xdLocalStorage

Moderate No fix available CVE-2020-11611

Details

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.

Affected packages

EcosystemPackageAffected versions
npmxdlocalstorage
All versions up to and including 2.0.5

References