GHSA-mr5m-2385-2vcpHighCVSS 8.8

xdlocalstorage does not verify request origin

Published
May 24, 2022
Last Modified
July 17, 2023

🔗 CVE IDs covered (1)

📋 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 products1

  • npm/xdlocalstorage:<= 2.0.5

🔗 References (5)