CVE-2020-11611
JSON

6.1medium

Open Redirect in xdLocalStorage

Severity
6.1medium CVSS:3.1 by NVD
Exploit likelihood
0.94% (higher than 61% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-c6c4-jmqx-3r33

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.

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

GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD5.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:N

Classification

What each source says

CVE List

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.

NVD (es)

Se detectó un problema en xdLocalStorage versiones hasta 2.0.5. La función buildMessage() en el archivo xdLocalStorage.js especifica el comodín (*) como targetOrigin cuando se llama a la función postMessage () en el objeto iframe. Por lo tanto, cualquier dominio que esté cargado actualmente dentro del iframe puede recibir los mensajes que envía el cliente.

References

Sources

SourceRecordLicence
CVE ListCVE-2020-11611 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-c6c4-jmqx-3r33 changed 2023-11-08CC-BY-4.0
NVDCVE-2020-11611 changed 2026-06-17Public domain