Skip to content
OpenAdvisories
Medium · 6.1 CVE-2020-11611 EUVD-2021-2502GHSA-c6c4-jmqx-3r33

Open Redirect in xdLocalStorage

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

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 packages

EcosystemPackageAffectedFixedRecord
npm xdlocalstorage <= 2.0.5 — GHSA-c6c4-jmqx-3r33

References