CVE-2020-11610
JSON

8.8high

xdlocalstorage does not verify request origin

Severity
8.8high CVSS:3.1 by NVD
Exploit likelihood
1.41% (higher than 73% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-mr5m-2385-2vcp

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
xdlocalstorage (npm)up to 2.0.5GitHub Advisory Database
cross_domain_local_storage_project cross_domain_local_storageup to 2.0.5NVD

All scores

GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Se detectó un problema en xdLocalStorage versiones hasta 2.0.5. La función postData() en el archivo xdLocalStoragePostMessageApi.js especifica el comodín (*) como targetOrigin cuando llama a la función postMessage() en el objeto primario. Por lo tanto, cualquier dominio puede cargar la aplicación que aloja el "magical iframe" y recibe los mensajes que envía el "magical iframe".

References

Sources

SourceRecordLicence
CVE ListCVE-2020-11610 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-mr5m-2385-2vcp changed 2023-11-08CC-BY-4.0
NVDCVE-2020-11610 changed 2026-06-17Public domain