Skip to content
OpenAdvisories
High · 8.8 CVE-2020-11610 EUVD-2022-4615GHSA-mr5m-2385-2vcp

xdlocalstorage does not verify request origin

Published Apr 7, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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 packages

EcosystemPackageAffectedFixedRecord
npm xdlocalstorage <= 2.0.5 — GHSA-mr5m-2385-2vcp

References