8.12
.
If your site or application uses a popup callback page with auth0.popup.callback()
then an attacker can take advantage of unrestricted cross-origin post message requests and gain access to the tokens of logged-in users. A malicious website could then use any acquired to invoke services on behalf of the user.
This update addresses the vulnerability by implementing origin verification so the message cannot be posted to a page that is not in a specified domain. If no domain is specified, only the domain where the callback page is hosted is allowed. An attacker would receive a cross-origin request error.
Patching this vulnerability requires a library upgrade.
8.12
auth0.popup.callback()
in your code8.12
.
Updated packages are available on npm. To ensure delivery of additional bug fixes moving forward, please make sure your package.json
file is updated to take patch and minor level updates of our libraries.