CVE-2020-11611 Open Redirect in xdLocalStorage
The xdLocalStorage library uses a wildcard targetOrigin in postMessage, allowing any domain to intercept sensitive data sent via iframes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-11611?
CVE-2020-11611 is a medium-severity vulnerability in n/a, published on 7 Apr 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-601
Which versions are affected by CVE-2020-11611?
2 open source packages ship an affected version, including xdlocalstorage. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
xdlocalstorage npm | All versions to 2.0.5 | None |
xdlocalstorage npm | All versions to 2.0.5 | None |
Products include Cross Domain Local Storage Project Cross Domain Local Storage.
How do I fix CVE-2020-11611?
No fix has been published for CVE-2020-11611 yet. Limit exposure of the affected software until one is available.
Is CVE-2020-11611 being exploited?
There is no known exploitation of CVE-2020-11611 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-c6c4-jmqx-3r33.