# CVE-2020-11611: Open Redirect in xdLocalStorage

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-04-07T17:18:54.000Z
- Modified: 2026-06-17T02:50:28.603Z
- Also known as: GHSA-c6c4-jmqx-3r33
- Weaknesses: CWE-601
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- xdlocalstorage (npm): up to 2.0.5
- cross_domain_local_storage_project cross_domain_local_storage: up to 2.0.5

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://grimhacker.com/exploiting-xdlocalstorage-localstorage-and-postmessage/#Missing-TargetOrigin-Client> (exploit, third-party-advisory, web)
- <https://github.com/ofirdagan/cross-domain-local-storage> (product, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-11611> (advisory)

## Sources

- CVE List: [CVE-2020-11611](https://www.cve.org/CVERecord?id=CVE-2020-11611), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-c6c4-jmqx-3r33](https://github.com/advisories/GHSA-c6c4-jmqx-3r33), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-11611](https://nvd.nist.gov/vuln/detail/CVE-2020-11611), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-11611 · Whole record: https://cve.day/CVE-2020-11611.json · Rebuilt by cve.day 2026-11-25T22:57:51.807Z
