CVE-2020-11610 json
xdlocalstorage does not verify request origin
published 2020-04-07 6 y ago modified 2026-06-17 4 mo ago also GHSA-mr5m-2385-2vcp , EUVD-2022-4615
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
An issue was discovered in xdLocalStorage through 2.0.5. The postData() function in xdLocalStoragePostMessageApi.js specifies the wildcard (*) as the targetOrigin when calling the postMessage() function on the parent object. Therefore any domain can load the application hosting the "magical iframe" and receive the messages that the "magical iframe" sends.
Patch / fix
- github.com/ofirdagan/cross-domain-local-storage#19 pull request
Exploit prediction
1.41% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- grimhacker.com https://grimhacker.com/exploiting-xdlocalstorage-localstorage-and-postmessage/#Missing-TargetOrigin-Magic-iframe referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | xdlocalstorage | <=2.0.5 |
no fix listed |
Classification
- Weakness
-
- CWE-668 Exposure of Resource to Wrong Sphere
References
-
github.com
/ofirdagan/cross-domain-local-storage/pull/19
web
-
grimhacker.com
/exploiting-xdlocalstorage-localstorage-and-postmessage/#Missing-TargetOrigin-Magic-iframe
web, exploit, third-party-advisory
-
github.com
/ofirdagan/cross-domain-local-storage
package, product
-
nvd.nist.gov
/vuln/detail/CVE-2020-11610
advisory
-
github.com
/ofirdagan/cross-domain-local-storage/issues/17
web
Sources
- CVE List CVE-2020-11610
- GitHub Advisory GHSA-mr5m-2385-2vcp
- NVD CVE-2020-11610
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.