Advisory

GHSA-mr5m-2385-2vcp

Also known as: CVE-2020-11610

Summary

xdlocalstorage does not verify request origin

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 17:13 UTC
Modified
2023-11-08 04:02 UTC

Affected packages and fixes

xdlocalstorage

npm · All systems

Affected

  • introduced 0, last affected 2.0.5 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences