CVE-2020-11611 Open Redirect in xdLocalStorage

Medium 6.1 Published Updated

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.

PackageAffectedFixed in
xdlocalstorage npmAll versions to 2.0.5None
xdlocalstorage npmAll versions to 2.0.5None

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.

Sources

Also known as GHSA-c6c4-jmqx-3r33.

Is CVE-2020-11611 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free