Brave Browser before 1.59.40 does not properly restrict the schema for WebUI factory and redirect. This is related to browser/brave_content_browser_client.cc and browser/ui/webui/brave_web_ui_controller_factory.cc.
The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
Link | Tags |
---|---|
https://github.com/brave/brave-browser/issues/32449 | patch issue tracking |
https://github.com/brave/brave-core/pull/19820 | patch issue tracking |
https://github.com/brave/brave-core/pull/19820/commits/9da202f7f4bc80b6975909b684bbc0764a31c4e9 | patch |
https://github.com/brave/brave-browser/issues/32473 | patch issue tracking |