xdlocalstorage does not verify request origin
High severity
GitHub Reviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Jul 17, 2023
Description
Published by the National Vulnerability Database
Apr 7, 2020
Published to the GitHub Advisory Database
May 24, 2022
Reviewed
Jul 17, 2023
Last updated
Jul 17, 2023
An issue was discovered in xdLocalStorage through 2.0.5. The
postData()
function inxdLocalStoragePostMessageApi.js
specifies the wildcard (*
) as the targetOrigin when calling thepostMessage()
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.References